The GTM alone does nothing, you need to configure it. If you don't configure sending of pageview to Analytics obviously doesn't send it to Analytics.

There is a specific tag in GTM to send hits to Google Analytics and you can also send the userId through it. The GTM allows not to have codes on the page so all tracking is centralized, easier to manage and it is no longer necessary to modify the page code.

Answer from Michele Pisani on Stack Overflow
🌐
Google Support
support.google.com › analytics › thread › 276303907 › should-i-use-google-analytics-and-google-tag-manager-snippets-together-on-the-same-web-page
Should I use Google Analytics and Google Tag Manager snippets together on the same web page? - Google Analytics Community
Skip to main content · Analytics Help · Sign in · Google Help · Help Center · Get started with Analytics · Collect and manage data · Report and explore · Audiences and remarketing · Manage accounts, properties, and users
🌐
Simo Ahava
simoahava.com › analytics › ga-snippet-and-ga-gtm-tag-on-the-same-page
GA Snippet And GA (GTM) Tag On The Same Page | Simo Ahava's blog
February 2, 2016 - But like I wrote in the beginning of this chapter, if you don’t mess with the tracker name setting, there will be no interference. You can freely track via Google Tag Manager to a Google Analytics property, and then keep the snippet-based ...
People also ask

Does Google Tag Manager replace Google Analytics?
No. Google Tag Manager complements Google Analytics. You can use GTM to send data to Google Analytics (and you can often do that without developer's involvement).
🌐
analyticsmania.com
analyticsmania.com › post › google-tag-manager-vs-google-analytics
Google Tag Manager vs Google Analytics explained (2025)
Is Google Analytics part of Tag Manager?
No, they are two separate tools serving different purposes. Google Analytics collects data and displays reports. Google Tag Manager is used to install marketing and analytics tools (e.g., Google Analytics)
🌐
analyticsmania.com
analyticsmania.com › post › google-tag-manager-vs-google-analytics
Google Tag Manager vs Google Analytics explained (2025)
What's the difference between GTM and GTAG?
GTM is Google Tag Manager. It is used to add various tracking codes to the website (e.g. GA4). GTAG is a native GA4's tracking code. It is used to install only several tools related to Google, e.g. Google Analytics and Google Ads.
🌐
analyticsmania.com
analyticsmania.com › post › google-tag-manager-vs-google-analytics
Google Tag Manager vs Google Analytics explained (2025)
🌐
Quora
quora.com › Can-Google-Analytics-and-Google-Tag-Manager-be-on-the-same-page
Can Google Analytics and Google Tag Manager be on the same page? - Quora
Answer (1 of 3): Of course they can! In fact, you can use them together. Google Analytics is a tool that helps you track users' activity on your website, and Google Tag Manager is a tool that helps you organize and manage other tags on your website.
🌐
Google
developers.google.com › google analytics › tagging for google analytics
Tagging for Google Analytics | Google for Developers
Google Tag Manager supports the Google tag you need for Google Analytics, a wide array of third-party tags, and even custom tags. ... If you already use Google Tag Manager, you don't need to use gtag.js. gtag.js is a JavaScript framework you ...
🌐
Reddit
reddit.com › r/googletagmanager › google tag manager and analytics don't seem connected.
r/GoogleTagManager on Reddit: Google Tag Manager and Analytics don't seem connected.
December 12, 2023 -

My client has been tearing his hair out for 2 months trying to move to GA4 and get tags working. He wants to monitor traffic on his ecommerce site, log when products are viewed, and when they are purchased so he can tie it up with his ad spend. It seems like this is the meat and potatoes of what GA4 should do, he's not wanting anything exotic, so I said I'd try to help because I assumed he's doing something wrong. I should add that we use Google Mail and have done for probably 15 years or so, and as a developer I work with Android and rich snippets and various other Google code. So I am not an IT newb.

The client added me as a user to his account. When I go to my Google Analytics panel, I can see his site in there now. Can click on it and view details.

It gives me some code to put on the web site, and when I check, this is exactly what we have there already. So that much appears good. Also, I can see how many users in the last half hour, etc. so data is coming in.

Now I note that the code it gives me to put on the site links to the domain googletagmanager.com. So this GA4 code seems to basically be Google Tag Manager, or at least very closely related.

So I am thinking now I need to look at tags, maybe create some. But there is nowhere to do this in the GA4 panel. After some flailing around ( everything seems to be several clicks away from where it feels like it should be) I am informed that I need to go to Google Tag Manager. I follow the link, and duly log in. This feels a bit strange. I am not sure why I am logging into *another* Google system. It feels like this should all be in the same place, since GA4 code to place on your web site literally links to googletagmanager.com. Anyhow, I go with it.

But in Google Tag Manager, I see his domain, but it looks like an old ID. It starts GTM- instead of G- and the rest is completely different. I cannot see his new GA4 ID in there, the one that their Analytics panel shows and whose ID is baked into the code to put on the web site and which was shared with my account.

At this point I really have no idea how to create tags for an ID that doesn't appear in my Google Tag Manager panel, but has been shared with me via Google Analytics.

This all feels very half-baked. I've gone through the documents, but it all sends me round in circles, following links back to Google Tag Manager where the ID I need to work with is not present.

Does the client have to separately give me access to their web site ID in Google Tag Manager, even though they already shared it in Google Analytics? Is there a reason why Google decided that Analytics and Google Tag Manager should be separate entities, rather than a single integrated system, which would seem to make more sense?

Top answer
1 of 5
2
Mmm..you have mixed and matched things up. Here is the process from start till end: you can install GA4 on a website in two ways. First is by manually inserting the GA4 code on the website backend. And the second is via Google Tag Manager. It doesn’t matter what the GA4 code snippet is. You need to check your website backend to see how the GA4 code has been installed. Just go to page source and try finding the GA4 measurement ID. If its there, it means GA4 is manually coded into the website. But if its not there, and you can find the GTM ID instead, then GA4 is installed via GTM.
2 of 5
2
I totally understand why you've made the assumptions you've made, but they aren't quite correct. Google have completely screwed newbies over not only with their terminology surrounding GA4 and GTM, but by digging the hole deeper with the domain names from where scripts are loaded. I know you're not a newbie to IT, but GA4 and GTM are a thing unto themselves. The script loading from googletagmanager.com is unlikely to be the script for Google Tag Manager. It is likely to be the Google Tag, which is a relatively new, unified script that instantiates one or more Google platforms e.g. GA4 and/or gAds. It cannot instantiate GTM though. Yes, Google have fumbled their naming scheme exactly as badly as this sounds. Compounded further by them and others calling on-site scripts "tags", which are 100% distinct from tags within GTM. Good to know: you cannot create any tags within GA4 (oh how I hope this comment ages like wine instead of milk!). You can create or even modify existing "events" based on rules and you can mark those events as conversions (soon to be renamed as "conversions and key events"). If you want fine-grained control over data collection, that's where you might turn to GTM. The GTM script can replace the existing Google Tag and from within GTM you would then implement GA4 and any other platforms you wanted to pass data to. GTM is essentially a visual programming environment where you modify a container, which then is compiled down to a javascript file hosted on googletagmanager.com and instantiated by a specific script you will find when clicking on the GTM-XXXXX ID within GTM. Even there, there is an inconsistency, because it instructs you to implement 2 pieces of code, only the first of which is actually relevant. Yes... this is probably overly complicated. It keeps me in a job. Do shout if you want some specific help with this!
🌐
Google Support
support.google.com › tagmanager › answer › 9442095
Set up Google Analytics in Tag Manager - Tag Manager Help
The Google tag enables data to ... additional instructions on setting up Google Analytics, refer to Set up Analytics. The Google tag works by loading your Google Analytics property on a page ......
Find elsewhere
🌐
Analytics Mania
analyticsmania.com › post › google-tag-manager-vs-google-analytics
Google Tag Manager vs Google Analytics explained (2025)
October 16, 2025 - Install the Google Tag Manager code on every page of your website. Use Google Tag Manager to deploy your Google Analytics tag. This setup gives you the powerful reporting of Google Analytics combined with the speed and agility of Google Tag Manager.
🌐
Simple Analytics
simpleanalytics.com › home › blog › google tag manager vs google analytics
Google Tag Manager vs Google Analytics
Google Analytics (GA) and Google Tag Manager (GTM) are often used together, but they are not the same.
Top answer
1 of 1
13

From the gtag.js Developer Guide:

If you are already using Tag Manager, you should continue to do so. If you don't need a tag management system, it is fine to use the gtag.js tracking codes provided by each product.

Tag Manager and gtag.js are built on the same infrastructure, and should work properly if deployed on the same page.

The Global Site Tag (gtag.js) is a new way of using analytics.js together with other Google products like AdWords or DoubleClick.
In fact, gtag.js loads up the same old analytics.js next to other libraries depending on what services you configure. In case you configure it with an AdWords account with gtag('config', 'AW-XXXXXXXX-X');, the script will automatically load up conversions.js too. Moreover, gtag.js also does some basic initialization of the services, e.g. triggers a pageview hit for Analytics or a remarketing hit for AdWords.

That being said, it is a bit like a tag manager indeed. However, it works only with Google products. So it is more of a simplification of configuration of the various Google tags by wrapping all of them into a single one.

It is important to note that if you are setting up a new Analytics account, you get the tracking code in the Global Site Tag format! You have no choice.

On the other hand, Google Tag Manager, like most tag management systems, enables you to manage tags beyond the Google suite of products. It comes with a user interface, version control, access management and all the other fancy things. Like analytics.js was, gtag.js is just another JavaScript library with which Tag Manager can communicate.

🌐
MeasureMinds
measuremindsgroup.com › home › google analytics › how to connect google tag manager and google analytics: ga4 guide
How to Connect Google Tag Manager and Google Analytics: GA4 guide
July 30, 2025 - Now, select the icon in the image below to add a trigger. This trigger notifies Google Tag Manager to send code to Google Analytics. Select the ‘All pages’ as the trigger so that your GA4 tag is present on all pages of your website.
🌐
Reddit
reddit.com › r/googletagmanager › do you need both a google tag and google analytics tag?
r/GoogleTagManager on Reddit: Do you need both a Google Tag and Google Analytics Tag?
September 9, 2024 -

I'm setting up GA4 on a website and I haven't done this in a while. When I last did this, there were separate tags you could create in a container specific to GA4. Now, they have the sort of catch-all Google tag. When you are in Tag Manager creating a new tag, you get a list of tag options to choose from. In the main list, there is a Google Analytics subsection, but there is also just a "Google Tag" option below it in the main list. However, when you go into the Google Analytics subsection, it has what appears to be the same "Google Tag" (and the GA4 Events tag). My understanding is the the Google Tag itself collects most of the basic events for analytics, but my question is this: Assuming that I don't need to set up any special events, do I need to create a tag using the "Google Tag" under the Google Analytics section AND create a tag using the "Google Tag" option on the main list? Or is that just the same thing?

Hopefully I explained that well enough. I was following this guide and it just shows you how to set up the Google tag with Tag Manager. As you can see, he selects the Google tag present in the main list. So I'm just wondering if I need to do anything more than that to get basic analytics because it seems as though there is no difference between that tag and the one in the "Google Analytics" section (excluding the events tag).

🌐
MonsterInsights
monsterinsights.com › home › tools › google tag manager vs. google analytics: everything to know
Google Tag Manager vs. Google Analytics: Everything to Know
October 4, 2023 - No, Google Tag Manager and Google Analytics are not the same. They are two unique tools with different abilities and different purposes.
🌐
MeasureU
measureu.com › home › google tag manager vs google analytics – which tool to use?
Google Tag Manager vs Google Analytics - Which Tool to Use?
March 15, 2023 - All of this hopefully makes it clear that Google Tag Manager is not a part of Google Analytics. If GA is a naked Christmas tree, GTM are the lights and decorations · The tree remains the same.
🌐
Google Support
support.google.com › tagmanager › answer › 7582054
Google Tag Manager vs. gtag.js - Tag Manager Help
Tag Manager fully supports Google Ads and Google Marketing Platform tags, and there is no need to deploy additional code using gtag.js on your site if Tag Manager is already in use. The Google Analytics: GA4 Configuration tag is now the Google tag · If you were using GA4 configuration tags, ...
Top answer
1 of 9
224

Google Analytics' main job is really just generating the reports and statistics about your website, like how many people saw your website yesterday, what web browser they used, which pages were the most popular, etc. The only way it can know this stuff is if you put a "tag" on all of your pages. The tag is the javascript code on your pages that runs on the visitor's browser, which tells Google Analytics' servers that they are visiting the page right now.

There's no problem if you just want to put the tag in the master file of your website so it shows up on all of your pages. Google Analytics can use the "referrer" parameter to figure out which page the visitor is on and can do all the simple stuff like counting page views.

However, you may want to track how many people use a specific feature. Maybe you want to group certain pages together or count some similar but different URLs as being the same page. Now you need unique tags for all these different features and groups of pages so Google can identify which feature or type of page got used or visited. Now it's complicated! You have multiple tags, and you only want the tags to "fire" sometimes (e.g. don't fire unless they click this button or use this feature.)

Google Tag Manager makes it easier to manage this mess of tags by letting you define rules for when your tags should fire. It also lets you test your tags to make sure they go off when you load the right page or click a certain button. This is done by putting the Tag Manager's code on your website instead of the actual tags, and as Crayon's answer points out, the tag manager outputs the tags for you. This gives you another cool benefit: you can change your tags and the way they work without actually changing the source code of your website (which you may not be able to do because of slow-release cycles) -- instead you just change it from the Google Tag Manager website, and it will spit out different code on your pages dynamically when they're loaded in the visitor's browser.

2 of 9
65

GA is the analytics tool that provides reports about activity on your site. GTM is a tag manager that can output tags based on defined rules. So for example, you can either implement your GA code on your site directly, or you can implement the GTM code and use GTM to output the GA code.

The main benefit of GTM (or any tag manager worth anything) is that you can use it for multiple tags or code snippets or pretty much anything you want. Usually you implement a data layer and a set of rules, and then within the tag manager interface, put a new tag or code snippet under those rules, using stuff from the data layer. That way for example, if you use GA today and then tomorrow want to also implement a different analytics tool e.g. Adobe Analytics, you can just do it within the GTM interface following the same rules and data layer you setup already.

So IOW GTM is a container in which to output other stuff. GA is one of the "other stuff" you'd output.

🌐
Quora
quora.com › What-will-happen-if-a-Google-Analytics-tag-and-a-Google-Tag-Manager-tag-are-on-a-website-and-GA-is-integrated-in-GTM-Will-there-be-any-duplication
What will happen if a Google Analytics tag and a Google Tag Manager tag are on a website, and GA is integrated in GTM? Will there be any duplication? - Quora
Answer (1 of 4): yes, because of same analytics id is implemented twice, it will send double pageviews for single one. also your bounce rate data will be affected by it. If your Google analytics tag is firing correctly through GTM then you there ...