Install Google Tag Manager on Shopify (and Send Purchases to Google Analytics 4)
In this video, you will learn how to install Google Tag Manager (GTM) on Shopify and how to send purchase details to Google Analytics 4 (GA4). We will cover how to add the GTM container code, how to add a custom data layer to capture purchases (including items, value, and other transaction details), how to configure GA4 correctly (so that self-referrals don't appear in your reports), and how to check that everything is working. GET THE CODE FOR SHOPIFY: https://www.lovesdata.com/blog/shopif... GET THE PRE-CONFIGURED GTM CONTAINER: https://lovesdata.co/n6p0m9 JUMP TO A TOPIC: 00:00 Introduction 01:01 Get the Google Tag Manager container 02:07 Add the container to Shopify 03:01 Establish the data layer 04:07 Add Google Tag Manager to the order confirmation page 05:26 Get the custom data layer for Shopify 6:59 Important consideration (don't skip this) 07:25 Adding Shopify as a referral exclusion to GA4 08:26 Get the GA4 measurement ID 08:46 Create a page view tag in Google Tag Manager 09:58 Add the pre-configured container 12:15 Add the GA4 configuration tag 12:57 Previewing the container 13:34 Completing a test transaction 14:44 View the purchase in DebugView 15:59 Conclusion YOUR EXTRA RESOURCES: ○ Google Tag Manager tutorials: • Google Tag Manager Tutorial // Lesson 1 //... ○ Get the code for Shopify (blog post): https://www.lovesdata.com/blog/shopif... ○ Get the pre-configured GTM container: https://lovesdata.co/n6p0m9 ○ Learn about the 'Add To Cart' tag: • How to track Shopify 'Add To Cart' clicks ... My email updates: https://www.lovesdata.com/email-newsl... My courses: https://www.lovesdata.com/courses My book: https://amzn.to/2FTQ8SX SAY HELLO! ○ My blog – https://www.lovesdata.com/blog-welcome ○ Contact me – https://www.lovesdata.com/contact-us TOOLS I USE AND RECOMMEND: ○ Email platform – https://lovesdata.co/zrLd7 ○ Course platform – https://lovesdata.co/2Zzfq ○ Data connector – https://lovesdata.co/oOWkI Subscribe for more videos: http://www.youtube.com/subscription_c...

Install Google Analytics on Shopify (using a Custom Pixel and GTM)

How To Install Google Analytics 4 (GA4) On WooCommerce

Google Analytics 4 Tutorial (2026)

GA4 Ecommerce Tracking // How to implement ecommerce tracking with Google Tag Manager for GA4

Server-side Tagging for Shopify (2026) | SGTM for Shopify with Stape

How To Track And Report On Campaigns In GA4 (Google Analytics 4)

Ukraine is Destroying Russia's Baltic Sea Fleet Now

Why AI Agents are either the best or worst thing we’ve ever built

How To Track Conversions In Google Ads

Google Tag Manager tutorial for beginners (2026) || GTM Course

How to Rank No. 1 on Google: Ecommerce SEO Secrets

Google Tag Manager Server-side Tagging Tutorial 2026 || Server-side tracking with GTM

How To Setup Ecommerce Tracking For GA4 (Google Analytics 4)

How To Track Google Ads Conversions Using Tag Manager (Free Training)

Google Analytics 4 Tutorial (2025) Step-by-Step Training

Google Ads Enhanced Conversions | Step by Step

Measure user activity with recommended events in Google Analytics

(2026) Google Analytics 4 Tutorial for Beginners: How to Use GA4 & Important Data to Look at

How To Get Your Shopify Store to RANK HIGH IN SEARCH ENGINES (SEO Checklist)

