How to set up GTM on Shopify (all options explained)

Written by

Tymofii Sankov

Updated Sep 17, 2026 comments

Key takeaways

Benefits of using Google Tag Manager on Shopify

4 Shopify GTM methods compared

MethodCoverageData qualityTypical use case

Manual GTM installation and Checkout Extensibility

Shopify store
Add Custom Pixel

GTM App

  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.

An upgrade to server-side GTM with Stape’s Conversion Tracking App

Alternative: use Shopify’s Google & YouTube App

Google & YouTube app from the Shopify App Store

Shopify data layer for GTM explained

Testing and verifying your GTM installation

Launch GTM Preview Mode
DebugView

Common mistakes and troubleshooting

Duplicate events

Missing ecommerce events

Incorrect data layer values

Tags not firing

Container not detected

Checkout tracking is not working

Data doesn't appear in Google Analytics 4

FAQ

Want to start on the server side?

Try for free

Written by

Tymofii Sankov

Content writer

Tymofii is a skilled writer specializing in marketing content and server-side tracking. With an English degree from Reading University, he simplifies complex concepts for better understanding.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free