Book a call

Can I use Google Tag Manager on Shopify?

Updated

Yes, but not the way it works on other websites. You can add Google Tag Manager to your theme for store pages, but checkout and the Thank you page only run tracking code through pixels in Settings, then Customer events, where Tag Manager runs in a sandbox with limits.

Google says running Google tags inside Shopify's custom pixels is not a supported implementation, and that some events, enhanced conversions, cross-domain measurement and Tag Assistant may not work properly there. It recommends the Google & YouTube app for GA4 and Google Ads instead.

Tag Manager still makes sense for tags with no Shopify app, such as some affiliate or analytics tools. Keep Google's own tags in the app, and make sure no purchase is sent by both the app and a Tag Manager container.

Check it yourself

  1. 1

    List what your Tag Manager container does today: which tags, which triggers and which platforms they send to.

  2. 2

    Move GA4 and Google Ads tracking to the Google & YouTube app, then pause or remove the same tags in Tag Manager.

  3. 3

    For checkout events from other tools, follow Shopify's guide to creating a Google Tag Manager custom pixel in Settings, then Customer events. It passes events such as checkout_completed into your container.

  4. 4

    Test the custom pixel with Shopify's Pixel Helper by opening it in Customer events and clicking Test. Google's Tag Assistant doesn't detect Google tags inside a custom pixel.

  5. 5

    After a test order, check each platform's own reports and confirm one purchase arrives, not two.

When to ask for help

If your container holds purchase tags for Google Ads or Meta, get help before you move them. Removing the wrong tag stops conversions, and leaving both counts them twice.

Book a call

Pick a time that suits you. The calendar only shows slots we're actually free, and you get an invite straight away.

Booking runs on Google Calendar. Open it in a new tab