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.

🌐
Analytics Mania
analyticsmania.com › post › google-tag-manager-vs-google-analytics
Google Tag Manager vs Google Analytics explained (2025)
October 16, 2025 - Other examples include: ... Any other custom HTML/Javascript code. While you can use Google Analytics without GTM, you should strongly consider using GTM if: You need to manage ...
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.

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)
🌐
Google Support
support.google.com › tagmanager › answer › 9442095
Set up Google Analytics in Tag Manager - Tag Manager Help
Next: Set up Google Analytics events in Tag Manager · To set up Google Analytics 4 (GA4) in Google Tag Manager, you need to configure the Google tag. The Google tag enables data to flow from your website to Google Analytics and any other designated destinations.
🌐
Google
developers.google.com › google analytics › tagging for google analytics
Tagging for Google Analytics | Google for Developers
To get started with the Google tag for Google Analytics, we recommend using Google Tag Manager. Note: The Google Analytics: GA4 Configuration tag is now the Google tag. If you were using Google Analytics configuration tags, they have been ...
🌐
Reddit
reddit.com › r/seo › why do i need google tag manager? what is the difference between gtm and ga?
r/SEO on Reddit: Why do I need google tag manager? What is the difference between GTM and GA?
January 7, 2022 -

I installed linkedin and twitter tags in google tag manager for all pages.

I don't know why I did that or why it's important.

Can someone explain it to me like I'm 5? Very grateful for any feedback.

Hugs

Top answer
1 of 12
7
The two are not competing products, they are complementary. Analytics is where all of your data lives. Google Tag Manager allows you to, quite literally, manage the tags that allow you to collect various bits of information from your site, and port that data into Analytics. Analytics on its own is pretty flat. There are all kinds of charts you can pull up to show all kinds of data that's collected by default, but that default info isn't always the most useful depending on what you're hoping to measure exactly. With GTM you can create all kinds of custom events and conversions which you can track in Analytics so that your data tracking is built for your own unique needs. In my position now, I not only have GA and GTM data to work with, but also HubSpot and Salesforce. All of these have different functions and purposes within our ecosystem, and combined, we can get a full and complete picture of how we're acquiring new business, how much it costs us to acquire new business, and use that data to inform marketing decisions (how and where we want to spend our money to get the best ROI possible).
2 of 12
3
A simple search on google will reveal that while google established core web values, most of their own components do not spread the mustard in terms of cwv and can easily be the reason for failing. This is 2022, you would think they have their shit together but do not. I’ve been in webinars within the last few months that included google engineers stating exactly that. The solution is to put all of your scripts within gtm. Gtm itself isn’t any faster, but there are solutions. If you go to dumky.net, he has an article about optimizing gtm code dated sept 30, 2019 and another about using cloudflare workers and a cache proxy dated may 26, 2021. Additionally cloudflare just release a tool called Zaraz which puts all of your third party tools on their cloud and provides one piece of code covering them all. This is supposed to be their solution to the fact that most of the different 3p codes have some level of impact on your site. This is supposed to reduce them all to one which does all of the heavy work in the cloud. I haven’t messed with it yet but it seems like a viable solution for the various overhead issues caused by the different scripts.
🌐
Simple Analytics
simpleanalytics.com › home › blog › google tag manager vs google analytics
Google Tag Manager vs Google Analytics
However, Google Analytics does not require GTM, and vice versa. You can use Google Tag Manager with a different web analytics service, and you can use Google Analytics with another tag manager (or none at all, if you are confident in your coding ...
🌐
mParticle
mparticle.com › blog › google-tag-manager-vs-google-analytics
Google Tag Manager vs Google Analytics: What Are the Key Differences? - mParticle
Using Google Analytics as one of the tags within Google Tag Manager can help you track behavioral data and conversion events, such as purchases or app downloads, without having to implement the GA snippet in your website directly.
Find elsewhere
🌐
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).

🌐
Fluxdigitallabs
fluxdigitallabs.com › blog › do-i-need-google-tag-manager-for-google-analytics
Do I need Google Tag Manager for Google Analytics?
November 7, 2025 - You do NOT NEED Google Tag Manager to deploy or use Google Analytics on your website.
🌐
Simplilearn
simplilearn.com › home › resources › digital marketing › google tag manager vs google analytics
Google Tag Manager vs Google Analytics: What’s the difference? | Simplilearn
July 31, 2025 - Google Analytics is the tracking tool, whereas Google Tag Manager is the mediator between your website and the tracking tool. Click here to learn more.
Address   5851 Legacy Circle, 6th Floor, Plano, TX 75024 United States
🌐
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 - Yes, you can use Google Analytics without Google Tag Manager. The two tools perform different but complementary tasks. GA4 enables you to analyze visitor data on your site while GTM simplifies the process of implementing tracking codes on your ...
🌐
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 - GTM, on the other hand, is useful to implement and configure GA and customize event tracking of GA. You can use GA without GTM, but you may not be able to collect all the data you need.
🌐
MeasureSchool
measureschool.com › home › google tag manager vs google analytics 4
Google Tag Manager vs Google Analytics 4 (2025)
January 7, 2025 - ... Thank you for your feedback, Camila! If you implemented your Analytics via GTM, it should be fine, as you should install GTM only once and then you can manage your tags via GTM without the need to modify the code.
🌐
Rootandbranchgroup
rootandbranchgroup.com › home › google analytics vs. tag manager
Google Analytics vs Tag Manager: Simple Comparison and Guide
December 25, 2024 - You can use Google Tag Manager to do the work for you. ... Using Google Tag Manager means you don’t need to manually put the Google Analytics code on your site, which keeps the backend of your site cleaner
🌐
YouTube
youtube.com › watch
Do you need Google Tag Manager? - YouTube
If you are not sure if you need GTM, then this video will give you decide, because, in reality, the answer is “it depends”.It depends on how your business op...
Published   September 26, 2023
Views   5K
🌐
Analytics Mania
analyticsmania.com › post › reasons-why-you-should-use-google-tag-manager
12 Reasons Why You Should Use Google Tag Manager in 2025
April 4, 2025 - If you don't care about analytics of your site, you don't use Google Analytics and you don't want to tracking additional info like clicks, video views, sales, etc., then you don't need GTM ...
🌐
HubSpot
community.hubspot.com › t5 › Marketing-Integrations › Installing-Google-analytics-and-google-tag-manager › m-p › 748753
Solved: HubSpot Community - Installing Google analytics and google tag manager - HubSpot Community
January 30, 2023 - It's an option, if you are using ... is a very helpful article that explains the difference, in summary: Google Tag Manager does not replace Google Analytics......
🌐
Google Support
support.google.com › tagmanager › answer › 7582054
Google Tag Manager vs. gtag.js - Tag Manager Help
If you already use Tag Manager, continue to do so. 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
🌐
Thinkific
support.thinkific.com › hc › en-us › articles › 11147883947799-What-is-the-difference-between-Google-Analytics-and-Google-Tag-Manager
What is the difference between Google Analytics and Google Tag Manager? – Thinkific
Depending on your goal, you could use either Google Analytics or Google Tag Manager. For example: Google Tag Manager is your best option if you're looking to track anything ecommerce related.