🌐
Shopify Help Center
help.shopify.com › en › manual › reports-and-analytics › google-analytics › google-tag-manager
Shopify Help Center | Google Tag Manager
Google Tag Manager is a tool that triggers your tracking codes based on defined rules. Google Tag Manager doesn't replace Google Analytics. Instead, it can be used to add Google Analytics tracking codes (tags) to a website, deploy Google Analytics code snippets, and define rules for when each ...
🌐
Google Support
support.google.com › tagmanager › answer › 12183125
Shopify: Set up your Google tag - Tag Manager Help
If the installed Google tag listed is correct, select Confirm. Select Complete setup. If you don’t complete all these steps you won’t be able to access your settings to make updates. Navigate to the “Settings” page. In the “Conversion event settings” section or the “Google tags” ...
🌐
MeasureSchool
measureschool.com › home › how to install google tag manager (and ga4) in shopify
How to Install Google Tag Manager (and GA4) in Shopify
2. You’ll find two snippets of codes, “snippet 1” and “snippet 2”, that you can install on the GTM pages. 3. Additionally, you can also find both of these snippets by navigating from Admin → Install Google Tag Manager.
Published   January 7, 2025
🌐
Shopify Help Center
help.shopify.com › en › manual › promoting-marketing › pixels › custom-pixels › gtm-tutorial
Shopify Help Center | Create a Google Tag Manager custom pixel
Open your Google Tag Manager account, and select the account that you want to set up a custom pixel with. Click Admin, and then click Install Google Tag Manager to open the installation code.
🌐
Cirklestudio
cirklestudio.co › blog › how to add google tag manager to shopify: step-by-step guide 2025
How to Add Google Tag Manager to Shopify: Step-by-Step Guide
January 3, 2025 - Select your container from the dashboard. Click on your Container ID in the top navigation. You’ll see two code snippets that you need to copy: Sign in to your Shopify admin panel > Go to Online Store > Themes.
🌐
Shopify Community
community.shopify.com › shopify discussion
Where to add Google Tag Manager code in my online store?
October 22, 2023 - I want to know where I need to add this code to in my store! Store is: www.aussieicebaths.com.au TIA (Thanks In Advance)
🌐
Shopify Community
community.shopify.com › shopify discussion
How to Add Google Tag Manager to the <head> of the Shopify Order Status Page?
May 5, 2025 - I’ve already added my Google ... (thank you) page. I understand that Shopify allows custom scripts in the Checkout > Additional Scripts section, ......
🌐
Lebesgue: AI CMO
lebesgue.io › home › how to implement google tag manager on your shopify store
Google Tag Manager for Shopify Store: Set up your Google Tag
July 17, 2024 - To add Google Tag Manager to your Shopify store, you'll need to install it and then copy/paste the provided code snippets into your store.
🌐
Elevar
getelevar.com › home › resources › how to set up google tag manager in shopify — in minutes
How to Set Up Google Tag Manager in Shopify — in Minutes | Elevar
August 10, 2023 - After doing my own testing and implementation, it turns out there are a few options to add GTM to Shopify and Shopify Plus stores: Implement in the Google Analytics admin settings which covers all pages, including checkout and thank you pages · Implement via theme.liquid file that covers all pages, except checkout and thank you pages · Implement through our GTM Suite Shopify app (including all AdWords and Facebook remarketing tags!)
Find elsewhere
🌐
Boostcommerce
blog.boostcommerce.net › posts › how-to-install-google-tag-manager
How to install Google Tag Manager in Shopify? Beginner Guide
May 5, 2025 - In your current themes, click on Actions > Edit code. Step 3: Go to Layouts > theme.liquid. Then, copy the selected code near the top of <head> tag. Right after <meta> tag is optimal. ... Hit “Save” and you're done.
🌐
Reddit
reddit.com › r/googletagmanager › proper way to install ga4 & gtm in shopify
r/GoogleTagManager on Reddit: Proper way to install GA4 & GTM in Shopify
June 19, 2023 -

Pretty much the title and super beginner here. I have no programming background, and the place I work (a small online store) is attempting to set up tracking properly. Unfortunately, we have already made several incomplete attempts before across multiple years, and find ourselves now in a state where we:

  1. already installed GA4 through Shopify (simply by pasting our Measurement ID)

  2. installed GTM directly in the <head> and <body> of our website

  3. also installed an app called Elevar (also through Shopify) and installed some of their pre-built tags in our tag manager. (We thought this would let us skip all the hard work and get all the essential data in a few clicks, but its not worth it for someone like us whos clueless)

We now realize that we need to start from scratch and properly learn from step one, but I am also concerned that removing anything will stop GA4 from collecting some data that we already have (such as purchases, adding items to the cart, etc. ) How shall i approach this?

Top answer
1 of 4
3
The first question you should always ask is, what is our goal, and what are the questions you'd like to answer with GA4? I would suspect your goal at first is just tracking purchases in GA4 to get started? If you connected GA4 to Shopify using their app, and you added GTM to the you should be in an ok place. The default Shopify GA4 integration does not include some ecommerce events, but most. You can also fully build out GA4 integration through GTM for Shopify, but if you and your team are new to this I'd just use Shopify's integration which is sounds like you are. Second, if you want to track other types of conversions in the future it can be worth adding GTM code to the thank you page with a custom event to fire to GTM. For example, if you're running the Reddit pixel. But, I would cross that bridge when I come to it. Third, if you are running GTM and Shopify's native GA4 integration, you'd want to make sure you're also not firing GA4 through GTM. In other words, use GTM for any type of custom events, other ad pixels, etc... but don't fire a page view on your shopify site. Also keep in mind that GA4 is JavaScript based and therefore is affected by ad blockers. So, do not expect your GA4 stats to match your sales in Shopify. They will be 20% or so lower (depending on industry). I would not worry about this, as the purpose of GA4 is for trend spotting, determining return on ad spend (ROAS), figuring out highest convert traffic sources, and more, but it's NOT for sales reporting. I see a lot of posts / comments from people who think their GA4 integration is "broken" b/c it's not reporting 100% of their purchases. That's not the case. Good luck!
2 of 4
2
Analyzify has an excellent tutorial hub with detailed instructions both with and without their app. There's also a video series on their YouTube
🌐
Analyzify
analyzify.com › home › guidebooks
A Detailed Guidebook on Shopify - GTM | Analyzify - Analyzify
Learn how you can set up and use GTM on Shopify. Everything about Shopify Google Tag Manager integration: tutorials, apps, knowledge base and more.
🌐
Analyzify
analyzify.com › home › guidebooks
How to Set up Google Tag Manager on Shopify
Learn how you can set up and use GTM on Shopify. Everything about Shopify Google Tag Manager integration: tutorials, apps, knowledge base and more.
🌐
Shopify Community
community.shopify.com › c › shopify-discussions › how-to-add-google-tag-manager-to-the-lt-head-gt-of-the-shopify › td-p › 3033810
How to Add Google Tag Manager to the of the Shopify Order Status Page? - Shopify Community
May 5, 2025 - I've already added my Google Tag Manager and Google Analytics code inside the <head> of my theme.liquid file, and it works perfectly across the entire site — except for the order status (thank you) page.
🌐
Bloggle
bloggle.app › blog › how-to-add-google-tag-manager-to-shopify
How to Add Google Tag Manager to Shopify (2025 Updated)
January 2, 2025 - To add Google Tag Manager to your Shopify store, you need to copy your GTM container code and paste it into your theme.liquid file just below the opening <head> tag.
🌐
YouTube
youtube.com › watch
How to Install Google Tag Manager on a Shopify Website - YouTube
Discover the step-by-step process for creating a new Google Tag Manager account and how to install Google Tag Manager on Shopify with ease.To install Google ...
Published   December 8, 2022
🌐
CustomerLabs
customerlabs.com › home › how to install google tag manager on shopify [with steps]
How to Install Google Tag Manager on Shopify [with Steps]
December 4, 2024 - Here’s how to complete the Shopify GTM integration: Start by clicking on the button for your GTM account to access the Google Tag Manager home screen. Once you’re in, you’ll be on the GTM home screen, where you can access the necessary ...
🌐
PageFly
pagefly.io › blogs › shopify › google-tag-manager-for-shopify
Google Tag Manager for Shopify: A Step-by-step Guide (2025)
January 14, 2025 - Today, we’ll walk you through how to install Google Tag Manager on Shopify, referencing helpful Shopify guides to ensure everything is set up correctly. Google Tag Manager (GTM) is a free tool that helps you manage and deploy tracking codes (tags) without editing the actual website code.
🌐
Reddit
reddit.com › r/ppc › shopify + google tag manager
r/PPC on Reddit: Shopify + Google Tag Manager
January 24, 2024 -

I have a bit of a frankenstein situation with my shopify store. I integrated Google / GA4 into my shopify using the sales channel.

I also have several snippets of Google code I had to install on my checkout page and theme.liquid file for enhanced conversions, Google ads remarketing, and Google reviews. These snippets are causing some duplicate events as well as slowing down page speed.

To fix, I'm thinking that integrating all code into a GTM tag is the correct route. Is this correct? If anyone has any resources they could point me to, I'd really appreciate it!

🌐
Groove Commerce
groovecommerce.com › ecommerce-blog › shopify-google-tag-manager
Shopify Google Tag Manager: The Essential Set Up Guide
August 26, 2024 - Insert your GTM container code in the Google Analytics section. ... Define your tags for tracking elements that make sense to you, such as page views, form submissions, upsells, visits, add-to-carts, or product interactions.