An easy step by step guide on how to install Google Ads conversion tracking to BigCommerce.
Supported Functions
- Includes the new Google Ads enhanced conversion option
Requirements
- Access to Google Ads > Conversions
- Access to Bigcommerce > Advanced Settings
Step 1
Login to your BigCommerce dashboard and go to Settings > Data Solutions

Now select Affiliate Conversion Tracking from the list.
Step 2
Login to Google Ads and click on Goals > Summery
Click on the big blue button (+New conversion action) and select website as your tracking template.
Enter your website URL and click on + Add a conversion action manually
Then do the following :
- Goal and action optimization
- Purchase / Sale
- Conversion name
- enter any name
- Value
- Use different values for each conversion
- The rest can be as defaulted
Click on Done
Now go to Conversions > Settings > Enhanced Conversions
Check the box next to Turn on enhanced conversions
From the drop down options choose Google Tag and click on Tag details.
- Check Allow user-provided data capabilities
- Check Automatically detect user-provided data
- Check Specify CSS selectors or Javascript variables
- Check the box next to Email and choose Javascript variable
- Enter the value enhanced_conversion_data.email
Now go back to summary > click on your conversion action and click on tag setup
Scroll down till you see the event snippet and copy the send_to value, so we can use it in the next step
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
Replace the AW-123456789123 (twice) with your own AW-code
<!-- Google tag (gtag.js)-->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-123456789123"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-123456789123', {'allow_enhanced_conversions':true});
</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’: ‘AW-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': 'AW-123456789123/lkadsjKDweLK45W',
'value': %%ORDER_AMOUNT%%,
'currency': 'USD',
'transaction_id': '%%ORDER_ID%%'
});
var enhanced_conversion_data = {
'email': '%%ORDER_EMAIL%%'
};
</script>
Click on save