Accepting credit cards, warehouses, and shipping and fulfilling orders
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?
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.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024