How to prevent AdWords from counting duplicate sales when using a Shopify store


Shopify's 'Thank You Page' (the page paid customers are redirected to upon purchase) is sometimes shown to the customers more than once if they seek to review their order status. This can make AdWords count the sale more than once.

In order to prevent such duplication on AdWords measurement, you should place one more line of code on your Shopify's store.

Action Item

Please embed this line of code: 

var google_conversion_order_id = {{ order.order_number }};
Right after this one:
var google_conversion_value = {{ total_price | money_without_currency }};
So the final code will look like this:
var google_conversion_value = {{ total_price | money_without_currency }};
var google_conversion_order_id = {{ order.order_number }};


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