All Collections
Working with: BigCommerce
BigCommerce Conversion Tracking
BigCommerce Conversion Tracking
James Riley avatar
Written by James Riley
Updated over a week ago

Once you have installed the Sauce app, you'll want to install the Sauce conversion code to unlock the powerful Visual Shopping reporting.

Preparing and Copying your Conversion Code

You'll want to grab the conversion code below, but be sure to swap out the two placeholder values which are in curly brackets:

  • {YOUR_CURRENCY} - swap this out for your actual currency (which may be GBP or USD for example. Sadly BigCommerce do not provide a variable for currency, hence the need to hard-code it here.

  • {SAUCE_ACCOUNT_ID} swap this with your Sauce account ID which you'll find at the top of your Account details page on Sauce.

<script> 
window.snapppt_order_number = '%%ORDER_ID%%';
window.snapppt_order_currency = '{YOUR_CURRENCY}';
window.snapppt_order_total = '%%ORDER_AMOUNT_IN_CENTS%%';
window.snapppt_account = "{SAUCE_ACCOUNT_ID}";
window.snapppt_platform = 'BigCommerce';
</script>
<script src="https://snapppt.com/conversion-tracker.js" defer></script>

If your store is in the UK for example, your resulting code, with your own Sauce account ID swapped in, will look something like:

<script> 
window.snapppt_order_number = '%%ORDER_ID%%';
window.snapppt_order_currency = 'GBP';
window.snapppt_order_total = '%%ORDER_AMOUNT_IN_CENTS%%';
window.snapppt_account = "123-abc-456-def";
window.snapppt_platform = 'BigCommerce';
</script>
<script src="https://snapppt.com/conversion-tracker.js" defer></script>

Now copy your prepared conversion code and let's install it into your store...

Installing your Conversion Code into your BigCommerce store

Firstly enter your BigCommerce store backoffice and click to enter the "Settings" section. Then click to enter the "Data solutions" section:

From here, scroll down to the 'Affiliate Conversion Tracking' section and hit 'Connect':

Now, paste in your prepare Sauce conversion code and then click 'Connect':

.. and you're done! Now upon the next order taking place at your checkout, the conversion code should run and you should then start seeing data appear in your Media & Sales report section on Sauce.

Did this answer your question?