Google Analytics measures what visitors do on your website or app and turns it into reports. Google Tag Manager is the tool that puts tracking codes on your site, including Google Analytics, without editing code each time. They aren't rivals: most businesses use Tag Manager to install and manage Google Analytics plus their ads and other tags. If you only need basic analytics, the Google Analytics code alone is enough; once you run ads or track several events, add Tag Manager.
The names cause confusion because both come from Google and both are free. One collects and reports data; the other delivers the code that collects it. I read Google's Tag Manager help on how it works and how to set up a container, and Google's Analytics help on how Analytics works and how to set it up.
Tag Manager and Analytics side by side
| Google Tag Manager | Google Analytics | |
|---|---|---|
| What it does | Installs and manages tags on your site | Collects data and builds reports |
| What you set up | A container with tags, triggers and variables | An account, a property and a data stream |
| Code on your site | 2 snippets on each page, once | Your Analytics code, or added through Tag Manager |
| Handles | Google Ads, Analytics, Floodlight and third-party tags | Your website and app data |
| Who uses it | Marketers and developers managing tracking | Anyone reading traffic and conversions |
| Available free | Yes, free to use | Yes, free of charge |
The mistake you can't undo
Google's Analytics help makes a point every business should read before setup. Once Analytics processes your data and stores it, it can't be changed. Google's advice is plain: when you set up filters, don't exclude any data you think you might want to analyse later. So test filters for internal traffic carefully, because a wrong filter removes that data for good, not just from a report.
How Tag Manager works
Google's Tag Manager help says you add two snippets of code to each page of your site once. After that you set up and change tags in Tag Manager's web interface, using triggers that fire tags when something happens, such as a form submission, and variables that make tags easier to manage. A container can replace all your hand-coded tags, including Google Ads, Google Analytics, Floodlight and third-party tags. Google recommends migrating all your tags at once rather than a few at a time.
Do you need both?
- A simple brochure site with no ads: the Google Analytics code on its own is enough.
- You run Google Ads, Meta ads or other pixels: use Tag Manager to manage them in one place.
- You want to track button clicks, forms or downloads without a developer each time: Tag Manager.
- Several sites or apps: Google suggests one Tag Manager account per organisation and one container per site or app.
If you're setting up from scratch, my GA4 setup checklist covers the Analytics side, and this guide to linking Google Ads and Google Analytics helps once your ads are running.
A typical setup, step by step
- In Google Analytics, create a property and add a data stream for your website.
- In Tag Manager, create one account for your company and one container for the site.
- Add Tag Manager's two code snippets to every page.
- Add your Google Analytics tag in Tag Manager with a trigger for all pages.
- Publish the container, then check that visits appear in Analytics.
My advice on Tag Manager or Analytics
Set up Google Analytics first, because it's where your answers live. If you run ads or want to track actions on your site, install Tag Manager and move every tag into it in one go. Before you add any filter in Analytics, note what it removes, because Google won't let you get that data back.
Do you make analytics or tracking tools? Tool makers can ask to be considered for a featured place in comparisons like this one.
Frequently asked questions
Is Google Tag Manager the same as Google Analytics?
No. Google Analytics collects data and builds reports; Google Tag Manager installs and manages tracking tags, including the Analytics tag.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Do I need Google Tag Manager to use Google Analytics?
No. You can add the Google Analytics code to your site directly. Tag Manager helps when you manage several tags or track many actions.
Are both free?
Yes. Google offers both tools free of charge.
Can I change Analytics data after it's processed?
No. Google says processed data is stored in a way that can't be changed, so don't exclude data you may want later.
How many Tag Manager snippets do I need?
Google says you add two snippets of code to each page of your website.
Should I move my tags into Tag Manager gradually?
Google's best practice is to migrate all your tags at once.
Can Tag Manager handle non-Google tags?
Yes. Google says a container can replace third-party tags as well as Google Ads, Google Analytics and Floodlight tags.


