New Shopify Certification now available: Liquid Storefronts for Theme Developers

Google Conversion Value Not Passing

natashabisme
Visitor
1 0 0

Not sure what's going on but I followed everything in the Help page and it is not showing up correctly in Google Ads in terms of transaction count and conversion value.

 

It's also double counting the number of transactions too, at times triple counting despite having only one instance of the code on the site.

 

For example, the store had 41 orders yesterday and Google Ads is saying there were 336 purchases. Would appreciate any help!

 

This is the code I have in the post purchase section. 

 

{% if first_time_accessed %}

<!-- Event snippet for Purchase conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': 'xx458/Dxx3L4D',
'value': {{ checkout.subtotal_price | divided_by: 100.0 }},
'currency': '{{ currency }}',
'transaction_id': '{{ order_number }}',
});
</script>

Replies 0 (0)