SEO, AdWords, affiliates, advertising, and promotions
I set up my conversion tag last week, but status is "unverified" and I cannot use Google Ads.
At first,I set up the below global tag between <head></head> in theme.liquid.
<!-- Global site tag (gtag.js) - Google Ads: 611285187 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-611285***"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());gtag('config', 'AW-611285***');
gtag('config', 'UA-174451***');
</script>
And at next,I set up the below conversion tag in Settings>Checkout>Additional Scripts
{% if first_time_accessed %}
<!-- Event snippet for Google Shopping App Purchase conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': 'AW-6112*****/wu0mCLSpqdg****',
'value': {{ checkout.total_price | money_without_currency }},
'currency': 'JPY',
'transaction_id': ''
});
</script>
{% endif %}
Is it any problem?
I checked my site top with Google tag assistant, but there are no critical issues.
You need the site-wide gtag script to be installed at the checkout. The value may also be causing issues with the script if the currency is not correctly formatted. See my tutorial on Google Ads tracking in Shopify for more info.
User | RANK |
---|---|
8 | |
8 | |
3 | |
3 | |
3 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023