Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Google Tag Manager vs Google Analytics: What's the Difference?

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 ManagerGoogle Analytics
What it doesInstalls and manages tags on your siteCollects data and builds reports
What you set upA container with tags, triggers and variablesAn account, a property and a data stream
Code on your site2 snippets on each page, onceYour Analytics code, or added through Tag Manager
HandlesGoogle Ads, Analytics, Floodlight and third-party tagsYour website and app data
Who uses itMarketers and developers managing trackingAnyone reading traffic and conversions
Available freeYes, free to useYes, 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

  1. In Google Analytics, create a property and add a data stream for your website.
  2. In Tag Manager, create one account for your company and one container for the site.
  3. Add Tag Manager's two code snippets to every page.
  4. Add your Google Analytics tag in Tag Manager with a trigger for all pages.
  5. 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.

Work with me

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.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.