Invalid call to gtag(), the Global site snippet is not installed

Highlighted
New Member
4 0 0

Hi everyone,

 

I've been trying to install GoogleAds conversion tracking, but I can't get it to work. I installed


1) the event snippet in settings>checkout>additional-scripts (see below) and

2) the global site snippet right after the <head> tag in my theme.liquid file (see below),

 

but after running Google Tag Assistant I get the messages "No tags found" and "Invalid call to gtag(), the Global site snippet is not installed".

 

Screenshot (702).png

 

Screenshot (701).png
 

(Have replaced the AW numbers with *****)

Hope someone can help. Thanks so much!

 

 Nikki

0 Likes

You also need to install the gtag snippet in the checkout > additional scripts section. That's likely where you went wrong, but your value variable may not work all the time. What you paste inside your theme.liquid file doesn't get pushed through to your order page. Shopify's documentation for setting ads tracking is limited to certain stores. For example, if you have products over 1000 in your currency or a currency with commas, tracking won't work. I suggest you follow my tutorial.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
0 Likes

Hello,

I have checked your issues I think code is not set up properly if it is possible so you can send me your domain on which you are working and I can help you in detail.

MageNative | Mobile App for your Shopify Store | Native Android and iOS Apps

Digital Marketing Analyst
Skype: live:asthaupadhyay_1
E-mail: asthaupadhyay@magenative.com
0 Likes
New Member
4 0 0

Hi Josh, thank you!

I've tried that and it still doesn't work. My shop currency is USD (with . and no commas) and there are no products over 1000.

 
Tag analysis now gives the following results: Global site tag (gtag.js) is green. Google Ads Remarketing Tag is still blue, but I also didn't intend to set that one up (yet). 
 
Google Ads tracking status still says Unverified (even after 24 hours).
0 Likes