Connect Ad Cost with Revenue

Google Ads (Formerly AdWords) provides a way for you to track sales information so that you can optimise your advertising based on what causes sales. This includes tracking the dollar amount of each sale.

This article will help you set this up with BigCommerce.

Step by Step Instructions

The first step is to get the tracking code from your Google Ads account.

  1. Login to Google Ads
  2. Go to Tools->Conversions via the top menu
  3. Click on the + Conversion button
  4. Give it a name, e.g. Sales
  5. Set source to Webpage
  6. Click Save and continue
  7. Conversion category is Purchase/Sale
  8. For conversion value select Each conversion could have a different value
  9. Set the conversion value to something easy to spot. e.g. 88888888
  10. I normally switch off the tracking indicator
  11. Click Save and continue
  12. Select I make changes to the code
  13. Copy the code into a text editor
  14. Click Done

At this point you should see your new conversion entry with a status of Unverified. That will change once your get your first sale via Google Ads.

Next we need to edit the code you have and insert it into the website. In the code you should see 2 places that contain the conversion value you chose before (88888888). Find all three and replace them with %%ORDER_AMOUNT%%. It should end up looking a bit like the example below.

    <!-- Google Code for Sales Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = XXXXXXXXXX;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "xxxxXXXX-xXxXxXxXxX";
var google_conversion_value = %%ORDER_AMOUNT%%;
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/XXXXXXXXXX/?value=%%ORDER_AMOUNT%%&amp;label=xxxxXXXX-xXxXxXxXxX&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
	

Then follow these steps

  1. Login to your BigCommerce Administration
  2. Go to Setup & Tools->Conversions
  3. Insert the modified Conversion Code
  4. Click Save

All done. At this point you just need to wait until you get a sale via Google Ads to see if it is working.

Please provide feedback if you have any issues or if it worked perfectly for you.