Customer events/pixel and a script in the header for anything else (contact forms etc). Answer from FigSpecific6210 on reddit.com
Shopify Help Center
help.shopify.com › en › manual › reports-and-analytics › google-analytics › google-tag-manager
Shopify Help Center | Google Tag Manager
To use Google Tag Manager with an upgraded checkout, follow the steps outlined in the custom web pixels tutorial for Google Tag Manager.
Google Support
support.google.com › tagmanager › answer › 12183125
Shopify: Set up your Google tag - Tag Manager Help
Select Save for each Shopify event you want to manage. When you're done updating the Shopify events, select Save. Review your Shopify events and Google Ads destinations, select Confirm. Google tags are installed for each relevant service you connect to the Google & YouTube app. If the installed Google tag listed is correct, select Confirm. Select Add Google tag to manually add Google tags without connecting the associated account or property. You can connect your services on ...
How to Add Google Tag Manager to the <head> of the Shopify Order Status Page?
I’ve already added my Google Tag Manager and Google Analytics code inside the of my theme.liquid file, and it works perfectly across the entire site — except for the order status (thank you) page. I understand that Shopify allows custom scripts in the Checkout > Additional Scripts section, ... More on community.shopify.com
Where to add Google Tag Manager code in my online store?
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) More on community.shopify.com
Which is the best way to install GTM in Shopify?
If this post doesn't follow the rules report it to the mods . Have more questions? Join our community Discord! I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
Shopify + Google Tag Manager
u/salinorum if you're still struggling with this, we've put together this comprehensive guide with the ready-to-use data layer and GTM template: https://www.analyticsmania.com/post/install-google-tag-manager-and-ga4-on-shopify If you're after consent mode as well, refer to this instead: https://karolkrajcir.com/post/ga4-consent-based-conversion-tracking-on-shopify-with-custom-pixels-cookifi-gtm More on reddit.com
Videos
06:45
🛒 Learn How to Install Google Tag Manager on Shopify - 3 Simple ...
13:33
How To Install Google Tag manager On Shopify - YouTube
03:39
How to Install Google Tag Manager on Shopify (GTM) - Tutorial Step ...
15:38
Install Google Analytics on Shopify (using a Custom Pixel and GTM) ...
MeasureSchool
measureschool.com › home › how to install google tag manager (and ga4) in shopify
How to Install Google Tag Manager on Shopify (Step by Step)
To do so, follow these steps: 1. In your Shopify admin, go to Settings > Checkout. 2. Scroll down to the Additional Scripts section. 3. Copy and paste the Google Tag Manager container snippets into the Additional Scripts box.
Published January 7, 2025
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 Tag Manager and Google Analytics code inside the of my theme.liquid file, and it works perfectly across the entire site — except for the order status (thank you) page. I understand that Shopify allows custom scripts in the Checkout > Additional Scripts section, ...
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
2 weeks ago - Go to Google Tag Manager and create a new account if you don’t have one. Add “Account name” and “Country”. Set up a new container by entering the container name (Website name). Select “Web” as the target platform and click “Create”. Accept the Terms of Service. Several apps in the Shopify App Store can help you implement GTM. Choose an app based on your needs and budget. For this guide, we’ll use GroPulse GTM & Data Layer. Install ...
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
Reddit
reddit.com › r/googletagmanager › which is the best way to install gtm in shopify?
r/GoogleTagManager on Reddit: Which is the best way to install GTM in Shopify?
August 7, 2025 -
Hello,
Which is the best way to install GTM in Shopify?
// LE: thank you all
Top answer 1 of 12
4
Customer events/pixel and a script in the header for anything else (contact forms etc).
2 of 12
4
So I did this (4) recently. There's a bunch of approaches, listed below. Roughly increasing complexity and cost as you go down 1) Don't use GTM, use default app. Just use the 'Google & YouTube' app (crap name). It can send a decent set of events to GA4 and Ads. Pretty inflexible, but also fine for 90% of Shopify stores. KISS. Most common by far. 2) GTM in theme + default app Using the default (1) app. Also add GTM to theme directly. Lets you biff in a few extra tags, like if you wanted to track some form success submits, or some menu interactions or something via GTM, firing the events to the GA4 tag that is inserted via default app. But you don't have a data layer so it's a pretty simple setup. 3) GTM in custom pixel (only) Remove any apps or GTM code from themes. Create custom pixel in Shopify admin. Chuck the standard GTM head code in it. Grab a template to subscribe/map the available Pixel events (page . Setup some tags to fire. Viola. There are some major limitations with this, because the Shopify Custom PIxel environment is sandboxed (runs in iframe) meaning it can't directly scrape or inject stuff like a normal GTM implementation. But you can still fire tags to a bunch of places. This sucks because you loose most GA4 data. 4) Hybrid: GTM in Shopify Custom Pixel and GTM in theme This can be a technically challenging setup, ideally needs a dev (who understands GTM, GA4 and GAds) to setup robust custom dataLayer added to theme JS code to support GTM. It gets you the 'full' functionality of GTM on all pages except checkout. Then GTM runs inside a Shopify Custom Pixel on checkout pages. Custom pixel is set to only load GTM on checkout pages, so you don't end up with dupe GTMs and events. Works pretty well and possibly best 'free' option, but you have to know what you're doing. Suuucks to debug though because can't see tags firing properly using Tag Assistant. 5) Hybrid via App Some apps will implement (3) for you but instead of custom code in a custom pixel they create a black box 'app pixel' that is essentially the same thing, but you can't control. Costs $10-$100 a month. Can be handy if you are not techy, but want a good baseline setup easily. Can be a bit in-flexible, depends on app. 6) Skip GTM, go server-side app. Similar to (4) but no cGTM. Instead using something like Stape (sGTM) or ProfitMetrics. Much nicer way to tie everything together into server-side events and get increased visibility. Eg Metas CAPI. Elevar and LittleData kind-of fit in here too. 7) Skip GTM. Go full CDP, server-side platform + app. RudderStack or Segment. Similar to (5) but going full CDP. They both have a helper app that also installs a Shopify Pixel. Highly flexible and somewhat future-proof. Seems like where things are heading. RudderStack cheaper, but less common. Segment more expensive, more well documented and supported. More notes: LovesData has a decent video comparing (1) and (2) Youtube video: 5GVIrxZdlPY Should go without saying that the Checkout > Additional Scripts is depreciated, possibly why everyone has this problem around about the same time :) LeoMeasure has a good explainer to set up (4) YouTube tutorial: qNViSdxXq9I ^ in that vid there are links to Github repo and Dropbox for full GTM container. There will be even more approaches that fit between these options. There is also custom, self hosted sGTM, not covered here. Seems unfortunately common that stores are using some legacy or conflicting combination of multiple approaches. So good to recognise this and know the different setups. Things have become waaay more complex than they were like 5 years ago (sadly). Options 6 & 7 will help close the tracking gap, where ITP, cookie privacy, privacy modes or ad-blockers will drop 20-40% of your traffic stats when using only client SCP / GTM / GA4 / GAds It's a real struggle to find this info laid out in a comprehensive way. Everyone wants to sell you something. Also things keep changing, this stuff seems to get out of date every couple of months.
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!
Top answer 1 of 4
2
u/salinorum if you're still struggling with this, we've put together this comprehensive guide with the ready-to-use data layer and GTM template: https://www.analyticsmania.com/post/install-google-tag-manager-and-ga4-on-shopify If you're after consent mode as well, refer to this instead: https://karolkrajcir.com/post/ga4-consent-based-conversion-tracking-on-shopify-with-custom-pixels-cookifi-gtm
2 of 4
1
If you're on Shopify, you should just install Aimerce. It's an easier version to implement than GTM, and it automatically feeds the first party data it collects into your respective Klaviyo flows and Meta/Google Ads audience sets. I've seen a sizeable revenue boost since doing it because it's more targeted and it lets me act on this customer data for up to a year (instead of the standard 7 days on Safari).
YouTube
youtube.com › watch
Shopify: Ultimate Google Analytics 4 & Google Tag Manager Setup - YouTube
The ultimate guide to setting up Google Analytics 4 (GA4) and Google Tag Manager (GTM) on Shopify in 2023.I will show you everything from A-Z, including sett...
Published November 22, 2023
YouTube
m.youtube.com › watch
Learn How to Install Google Tag Manager on Shopify - 3 ...
Share your videos with friends, family, and the world
Published January 5, 2024
Shopify Community
community.shopify.com › technical q&a
Best way to connect GA4 to shopify store
February 6, 2023 - Hey all, I have just spent hours researching how to correctly insert GA4 to Shopify. But to be honest, I still dont know if i should just use Shopify’s Google App or if its better to use Google Tag Manager. (Same goes for Google Analytics) Basically, I would like to use GTM because I will ...
YouTube
youtube.com › watch
Install Google Tag Manager on Shopify (and Send Purchases to Google Analytics 4) - YouTube
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 ...
Published May 9, 2022