Follow

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

Background

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 Google Ads count the sale more than once.

In order to prevent such duplication on Google Ads measurement, you should place one more line of code on your Shopify 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?
1 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk