Choose a language

Two colleagues reviewing an analytics dashboard together on a large office monitor

Google Tag Manager vs GA4: Which One Does What on Your Site

Published November 5, 2026 · Mis à jour le November 16, 2026 · 10 min read

They are two different tools that work as a pair. GA4 is the analytics platform that collects and reports on what people do on your site. GTM is the tag management system that places the tracking code, including the Google tag that sends data to GA4.

In this guide you will get a plain-English role split, a disambiguation table for GA4, GTM, the Google tag and gtag.js, the minimal setup order for a typical US site, and the exact situations where you can skip GTM entirely.

The path in 7 steps

The steps of this page, in order.

  1. 01 One-line answer Two tools, two jobs: one measures, one delivers tags.
  2. 02 Who does what GA4 collects and reports; GTM deploys and manages the tags that feed it.
  3. 03 Clear up the names GA4, GTM, the Google tag and gtag.js are four different things.
  4. 04 Build the minimum Create the GA4 property, create the GTM container, fire the Google tag through GTM.
  5. 05 Or skip GTM Small sites on a CMS integration can often run GA4 without GTM at all.
  6. 06 Fix common errors Double tracking and missing tags are the two mistakes beginners hit first.
  7. 07 Decide and act Pick your path, follow the order, and avoid breaking existing tracking.

01 / 10

Are Google Tag Manager and Google Analytics the same thing?

No, GA4 measures behavior, GTM delivers the code that does the measuring, and they are separate products.

GA4 (Google Analytics 4) is the platform that stores your traffic and event data and turns it into reports: users, sessions, events, conversions. GTM (Google Tag Manager) is a free tool that adds and updates tracking tags on your site, so a tag, a small piece of code that sends information somewhere, for example to Google Analytics or Google Ads, can change without editing the site by hand.

Google designs them to work together, and you can run either one alone. One delivers code, the other keeps the data.

02 / 10

Who does what: GA4 or Google Tag Manager?

GA4 owns the data and the reports; GTM owns the deployment and the timing of every tag.

GA4 is where the data lands and where you read it: it collects events, stores them in your property, and turns them into reports like dashboards and explorations. GTM never stores your analytics data. It holds a container, the bundle that carries all your tags, triggers and variables for one site, and its output is a published container version that your pages load.

A trigger is the condition that decides when a tag fires, such as a page view or a button click. Each tag then sends data to a destination, a product like GA4, Google Ads or Floodlight. Your GA4 property and your GTM container are both yours, but they sit in separate accounts and you edit them in separate screens.

03 / 10

What is the Google tag, and how is it different?

The Google tag (it starts with GT-) is one measurement tag you install once, then point at destinations like GA4 and Google Ads.

The Google tag and gtag.js, Google's JavaScript library, work together: gtag.js is the code file, while the Google tag is the single measurement tag (its ID starts with GT-) you paste into that file or load through a tool. You install it once and point it at destinations such as GA4 and Google Ads, as Google's documentation for the Google tag describes.

It replaced the GA4 Configuration tag: Google's developer documentation states existing configuration tags were upgraded to the Google tag automatically, with no action needed on your side. gtag.js sends data only to Google services; third-party and custom tags go through GTM.

GA4, GTM, the Google tag, and gtag.js side by side

NameWhat it isWhat identifies itWhat it does
GA4A measurement product (analytics) by GoogleMeasurement ID: G-XXXXXXXCollects and reports user behavior in Google Analytics
GTMA tag management system (container)Container ID: GTM-XXXXXXXLoads and manages many tags, including Google and non-Google tags
Google tagA single Google measurement tagTag ID: GT-XXXXXXXSends data to Google destinations such as GA4 and Google Ads
gtag.jsA JavaScript libraryA script URL in your site codeLets you add Google tags directly without a tag manager

Scope check: GA4 measures, GTM manages tags, the Google tag identifies a Google measurement tag, and gtag.js is the code that loads it.

Marketer at a laptop comparing a website page with a tracking setup screen

04 / 10

What is the smallest setup that actually works?

Create the GA4 property, create the GTM container, then fire the Google tag through GTM, in that order.

Start with GA4: create the property and copy its measurement ID. Nothing can receive data until that ID exists, so doing it first avoids wiring a tag to a destination that doesn't exist yet.

Then create the GTM container, the GTM bundle that holds all your tags, triggers and variables for one website, and install its snippet on every page. Only after that add the Google tag inside GTM, point it at your GA4 measurement ID, test in preview mode, then publish.

  1. Create the GA4 property

    In the GA4 admin, set up the property and its data stream, then copy the measurement ID (the G-XXXXXXX string). This is the address your data will be sent to.

  2. Create the GTM container

    One container per website. Copy the container snippet and place it on every page, ideally in the head section, so it loads site-wide.

  3. Add the Google tag inside GTM

    Create a Google tag in the container, enter the GA4 measurement ID as its destination, and set it to fire on all pages. Use Preview mode to confirm it fires once before publishing.

  4. Publish and verify

    Publish the container, then check Realtime in GA4 to confirm your own visit shows up. If a CMS plugin also injects the Google tag, remove it, that is the classic double-tracking cause.

05 / 10

Do you even need Google Tag Manager?

Small sites already using a CMS integration can often run GA4 without GTM at all.

Run GA4 alone when your CMS integration already loads the Google tag and you only track page views and a few basic events. GA4 and GTM are separate products (Google's documentation), so skipping GTM costs you nothing.

Hand on a mouse clicking through a website on a desktop screen

06 / 10

Is GTM still free, and is it still relevant?

Yes, GTM has a free tier and is still the standard way to deploy Google tags; free versus enterprise is a separate question.

As of November 2026, GTM is free, and Google's Tag Manager setup guide still recommends it as the starting point for deploying the Google tag and Analytics. A tag is a small piece of code on your page that sends information somewhere, like GA4 or Google Ads. GTM also manages many third-party and custom tags, which a plain gtag.js install cannot do.

GTM itself is free. Google also sells Tag Manager 360 inside its enterprise Marketing Platform, but most sites never need it, so choose GTM for what it does, not for its price.

You need more than one destination

If tags must reach GA4 plus Ads, Floodlight or a third party, GTM gives one place to manage them.

You want to change tags without a developer

Publishing a new container version is faster and safer than editing site code for every tracking change.

You rely on Google's current guidance

Google still recommends Tag Manager to start, and supports the Google tag for Analytics inside it.

07 / 10

What goes wrong when you set up both?

Most often, the same GA4 tag fires twice, once from your CMS integration and once from GTM.

Symptom: a day or two after you publish, GA4 shows roughly double the page views or conversions you expect. The cause is almost always a duplicate Google tag: your CMS already injects it, and a GTM tag fires a second copy.

Fix: decide one delivery path per tag, CMS or GTM, never both. In GTM, use Preview mode to check which tags fire on a page view before you publish live. A trigger is the condition that fires a tag; a destination is where it sends data, such as GA4 or Google Ads.

Count the Google tag

Use GTM Preview and your page source to confirm only one Google tag loads per page.

Map each trigger to one destination

For every GTM tag, note its trigger and destination. Two tags sending the same hit to GA4 is the bug.

Test in Preview before publishing

Click through key pages and events in Preview. Check GA4 DebugView for single hits, not pairs.

Compare before and after

Write down yesterday's GA4 page views, publish, then compare today's numbers. Doubling means a duplicate.

08 / 10

What should I do next?

Pick your path, GTM or no GTM, then follow the order below so nothing fires twice.

Your path depends on what you track today. If you already get basic pageviews through a CMS integration and need nothing else, change nothing, revisit when you add events. If you need event or third-party tracking, build in this order: GA4 property, then container, then the Google tag inside GTM.

Cross-check every step against Google's developer documentation for the Google tag and Tag Manager support before you publish. These pages are the source of truth, not blog tutorials.

09 / 10

Frequently asked questions

Frequently asked questions

10 / 10

Sources, data and disclaimer

Sources

Disclaimer

Checked in November 2026. Google renames and merges tags from time to time, so confirm details in the official documentation before you change a live setup.

The Web Insider editorial team
About the author The Web Insider editorial team

Web Insider is a practical magazine for people who build, run or grow a website. Every fact is checked against its official source, and every test shows its proof.

Your feedback

Was this page helpful?

Share

Could this page help someone?

Related reading

Read next

Laptop on a desk showing an analytics dashboard and code next to sticky notes
Data & Analytics

What Is Google Tag Manager? A Plain-English Guide

Google Tag Manager (GTM) is a free tool that lets you add and manage marketing and analytics tags on a site without touching code. This guide explains tags, triggers, and variables, how GTM works with GA4, and whether you need it.

·13 min
Abstract tag management interface on a laptop, with no logo visible
Data & Analytics

Google Tag Manager Logo: What the Icon Means

The GTM logo is the interlocking double-diamond mark for Google's tag management product. It proves Tag Manager is attached, not that your tags work. Here's how to read it.

·13 min
Analyst comparing a dashboard on a laptop with a checklist on a tablet
Data & Analytics

GA4 Migration Checklist: Move Without Losing Data

Migrating from Universal Analytics to GA4 is not a switch you flip, it is a project. This checklist walks you through audit, parallel tracking, validation, and Consent Mode so your data stays clean.

·15 min
Explore the topicData & Analytics

Audience measurement, Google Analytics 4 and Google Tag Manager: set them up, check them and keep your data reliable.

Explore the topicWebsites & Platforms

WordPress, Shopify, PrestaShop and WooCommerce: run, integrate and maintain a site without making it fragile.

Explore the topicGuides & How-Tos

Methods, training and practical benchmarks to scope a web project, test a site and make better decisions.

Explore the topicSecurity & Compliance

Backups, updates, GDPR, cookies and audience measurement: keep a site safe and compliant.