Install Google Ads Conversion Tracking in BigCommerce

An easy step by step guide on how to install Google Ads conversion tracking to BigCommerce.

Step 1

Login to your BigCommerce dashboard and go to Advanced Settings > Affiliate Conversion Tracking

BigCommerce Install Conversion Tracking

Step 2

Login to Google Ads and click on the 3dot menu in the top right corner and select Conversions under Measurement column.

Google Adwords Menu Conversions

Click on the big blue plus sign and select website as your tracking template.

Then do the following :

  • Conversion name
    • enter any name
  • Category
    • Purchase / Sale
  • Value
    • Use different values for each conversion
  • The rest can be as defaulted

Click on Create and continue

Create your website conversion action

Step 3

Paste the following codes in your recently opened Affiliate conversion tracking page

First past your Global site tag such as the example below (do not use this example, use your own downloaded code snippet)

<!-- Global site tag (gtag.js) - Google AdWords: 123456789123 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=xx-123456789123"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'xx-123456789123');
</script>

Step 4

Then right after that, we paste the event snippet, before we do this we need to edit the code. replace the following lines from your downloaded code snippet to the code example below :

  • ‘send_to’: ‘xx-123456789123/lkadsjKDweLK45W’,
    • change this line with your snippet
  • Change the currency code to the on your store uses
<!-- Event snippet for Sales conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': 'xx-123456789123/lkadsjKDweLK45W',
'value': %%ORDER_AMOUNT%%,
'currency': 'USD',
'transaction_id': '%%ORDER_ID%%'
});
</script>

Click on save

Need Help?