Google Ads Conversion Tag Won't Appear on My Thank You Pages

Google Ads Conversion Tag Won't Appear on My Thank You Pages

username2
Visitor
3 0 1

Hi,

I've been trying to add my Google Ads conversion tracking tag to my checkout (settings >> checkout >> additional scripts), but it just doesn't work.

I pasted the exact code found on your guide here:

{% if first_time_accessed %}
<!-- Event snippet for Test conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': '1234567',
'value': {{ checkout.subtotal_price | divided_by: 100.0 }},
'currency': '{{ currency }}',
'transaction_id': '{{ order_number }}',
});
</script>
{% endif %}

I obviously replaced the "1234567" with my Google Ads account credentials, but when I make a purchase and click "View page source" in my browser, the code simply doesn't appear on my thank you pages after a purchase is made.

And thus, the conversion tag is left at "unverified" status in my Google Ads account.

Why is not appearing on my Thank You pages and how can I fix that?

Reply 1 (1)

Suneil
Visitor
1 0 0

I am having the same problem. No matter what I do, where I put in the code, it doesn't register with my Google Ad account.