Add site and ROI tracking to your BigCommerce store

Learn how to add the site and ROI tracking scripts to your BigCommerce store.

Overview

Advanced revenue attribution

Using the Dotdigital for BigCommerce connector to sync your order data allows you to make use of our Advanced revenue attribution model. Advanced revenue attribution does not require the ROI script to be installed but if you prefer to use the ROI tracking script to track your revenue, the steps below will show you how.

Site and ROI tracking gives you a greater appreciation of your campaigns' ROI conversion rates by allowing you to:

  • Track the journey of contacts who go on to access your website using links in your campaigns.
  • Track ROI values for those same customers.
  • Split test your campaigns using ROI metrics.

    To find out more about ROI split testing check out Setting up ROI split testing markers.

Add site tracking to your BigCommerce store

To add the site tracking script to your storefront:

  1. Go to Storefront > Script Manager and select Create a Script.
  2. In the Create Script window, complete the following fields:
    1. Name of script
    2. Description
    3. Location on page
    4. Pages the script should be added to - select All pages
    5. Script category - select Analytics
    6. Script type - select Script
    7. Script contents - enter the following script:
      <script src="https://r1-t.trackedlink.net/_dmpt.js" type="text/javascript"></script>

      Replace r1 in the source URL with the correct region for your store. For Europe, retain r1, for North America, use r2 and for Asia Pacific use r3.

  3. Select Save.

Add ROI tracking to your BigCommerce store

To add ROI tracking script to your storefront:

  1. Go to Storefront > Script Manager and select Create a Script
  2. In the Create Script window, complete the following fields:
    1. Name of script
    2. Description
    3. Location on page
    4. Pages the script should be added to - select Order confirmation
    5. Script category - select Analytics
    6. Script type - select Script
    7. Script contents - enter the following script:
      <script> _dmTrack("CheckOutAmount", %%ORDER_AMOUNT%%); </script>
  3. Select Save.

See also

Did you find this article helpful?

Can we help?

Thanks for using Dotdigital. If you need more help or support, then contact our support team.