Where do I place my Google Adwords tracking code for my store?

If you'd like to know which of your keywords best leads to sales, you should integrate your Google AdWords account with your store. 

How to set up AdWords Conversion Tracking

1. Go to your Google AdWords back-end and open the "Tools and Analysis → Conversions" page. Press the "New Conversion" button. Enter your conversion name and press "Save and continue".

2. Set up conversion settings. 

  • Set "Conversion category" to "Purchase/Sale".
  • Set "Page security level" to "HTTP" or "HTTPS", if your store page uses a secure HTTPS protocol (most likely it does not)
  • Set "Conversion value" to %order_total%, it will allow you to dynamically track each sale value. 
  • Set "Tracking indicator" to "Don't add a notification" if you site's privacy policy mentions that customers' actions are tracked.

Press "Save and continue".
3. Select the "I make changes to the code" option and copy the code snippet to your clipboard, or save it to a text file.
Press "Done".

4. Go to your Control Panel. Open the "Settings → General → Cart" page and find the "Checkout options" section. Enable the "Affiliate code on "Thank you for your order" page" option.

Then enter your saved tracking code and save the changes.

A detailed instruction is also available at


When I check the source code of my Thank you for order page the Adwords conversion code is not being reflected there. Why?

If you inspect the page source code via the browser's 'View page source' tool, you won't see the tracking code you entered in your control panel when setting up Adwords tracking. That is actually expected behavior. Ecwid is an AJAX application and everything in your store is delivered to the web page dynamically by JavaScript. The tracking code is loaded dynamically as well - when the order confirmation page opens, the tracking code loads and executes in background. It is how it is supposed to work. So please do not worry you do not see it in the page source. If you want to inspect the code and debug it, you should use developers tools in a browser (e.g. the built-in Chrome's developer tools or FireBug in FireFox).

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk