Google AdWords Tracking - Invalid gtag

9 0 1

I have walked through the setup outlined by Shopify and cannot get the gtag to fire on my checkout page. I am testing it with an order confirmation page and I am getting the error "invalid call to gtag - the global snippet is not installed". The snippets are installed on both theme liquid and checkout scripts. 


Now, we had the Shopify Google Shopping channel installed and also Shopify Google Analytics, is it possible this is causing an error? 


Any insight would be greatly appreciated. 

Shopify Partner
19 3 7

The Google Shopping app sets up conversion tracking of its own. If you are using that you dont need to setup any conversion tracking.

Its either one of these.


Setting up wrong Conversion tracking is one of the most common problems I have seen people make, there are multiple ways to do it.

I dont know how much in the weeds you are now, but if I start fresh, I just install the Google Shopping App and thats all.


For Google analytics just use the default shopify setup ( where you input your GA id ). No messing up with liquids and scripts.

I am writing a book titled "Shopify Marketing like you are 5", it aims to make everything stupidly simple for beginners.

To write content for it, I need to know what your biggest struggle is when it comes to Shopify Marketing ( SEO , Google Ads , Facebook Ads).

If you answer "Whats your biggest Struggle with Shopify Marketing" then I will send you a free copy of the book when its published.
Shopify Partner
31 3 5

Would it be possible to share a link to your website so I can give you proper advice?


This is an accepted solution.

If you're using the Google Shopping channel, your tracking will be setup. I can't tell you the number of ad accounts we've audited as an agency and people have duplicate tracking codes setup due to the channel. Numbers get extremely bloated as store owners thing their ad campaigns are doing great, but really, they're doubling up on reality.


Don't get me started on the lack of education around Shopify's Google Shopping channel's various conversions causing huge confusion. So many store owners attribute the value for add to carts as a purchase! Check your Conversions section in Google Ads to review what's there.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required):