Google Tag Manager vs the Google tag (gtag.js): which one should you use in 2026?

The Google tag (gtag.js, formerly called the global site tag) is one snippet with one tag ID that sends data to Google products such as GA4 and Google Ads. Google Tag Manager is a tag management system: one container that loads Google tags and third-party tags (Meta, Microsoft, LinkedIn), with triggers, variables, preview mode and version history. For most businesses that run ads or track conversions, I recommend Tag Manager, and so does Google for first-time installations; in 2026 Google is also merging the two, so the Google tag is becoming a Tag Manager container.
Not sure whether your site is tagged once, twice or not at all? I review and fix tracking for Google Ads, GA4 and Tag Manager. See my conversion tracking service.
What the Google tag is
The Google tag is the current name of the global site tag (gtag.js). Google converted every global site tag into a Google tag, so an old snippet on your site still works and doesn’t need to be replaced.
How it works today:
- One tag ID per Google tag, such as
G-XXXXXXX(from GA4) orAW-XXXXXXX(from Google Ads). You paste the snippet right after the opening<head>tag on every page. - Destinations. One tag can send data to several Google products (a GA4 property, a Google Ads account, Floodlight). If you use Google Ads and GA4, Google suggests installing the tag from one of them and adding the other as a destination, rather than putting two tags on the site.
- Google tag settings. Many features are switched on in a screen, not in code: cross-domain measurement (configure your domains), automatic event detection, user-provided data for enhanced conversions, internal traffic rules and others. Changing a setting affects every destination of that tag.
- Custom events (a form submit, a button click) still need code: a developer writes
gtag('event', ...)calls into the site.
Where to find your Google tag
In GA4: go to Admin → Data collection and modification → Data streams, open your web stream and, under Google tag, click Configure tag settings.

The Google tag screen shows the tag’s name and its IDs at the top:

In Google Ads: click Tools, then Data manager, and under Google tag click Manage.
What Google Tag Manager is
Google Tag Manager is a free tool where you manage all your website’s tags in one place. You install one container snippet (GTM-XXXXXXX) on the site once; after that, you add and change tags in Tag Manager’s interface without touching the site’s code. It gives you:
- Tags for Google products (the Google tag, GA4 events, Google Ads conversions and remarketing, Floodlight) and built-in or community templates for third parties, plus Custom HTML for anything else.
- Triggers for page views, clicks, form submissions, scroll depth, video views, timers and custom events, so most events need no developer. For an example, see how to track menu clicks with Tag Manager and GA4.
- Variables to read page data, click data, the data layer, cookies and more.
- Preview mode with Tag Assistant, to test before anything goes live.
- Versions, so every publish is recorded and you can roll back.
- Workspaces, environments and user permissions for teams and agencies.
- Consent settings on every tag, which matter for Consent Mode v2.

What changed in 2026: the Google tag and Tag Manager are merging
This is the part most comparisons online are now missing. In 2026 Google announced it is unifying the two products:
- Google tags are being upgraded to full Tag Manager containers. A site that only uses the Google tag gets access to Tag Manager’s interface-based tagging, debugging and version control. Google says the upgrade does not change how the tag behaves on the page.
- New snippets are the same for both. Google’s developer documentation now shows a Google tag snippet that loads
gtm.js?id=TAG_ID, and new snippets no longer include thegtag('config', ...)command. Existing snippets withgtag('config')keep working. - Container optimization in Tag Manager (opt-in). Since October 2026, a Tag Manager container can be optimized so it sends data directly to Google products, instead of loading extra gtag.js files for them. Google tag settings move to a new Settings section in the container. Nothing changes until someone with publish rights accepts the optimization and publishes it, and you can preview it first.
- Automatic Google tag loading. Since April 10, 2025, a container with Google Ads or Floodlight tags loads a Google tag first, before those tags send events, even if you never added one.
- Visual tagging. Google is adding a way to define events by selecting elements on the page, without code. It started in beta for Google Ads purchase conversions.
What it means in practice: the question is less “gtag.js or Tag Manager” than “do I manage my tags in code or in Tag Manager’s interface”. The interface wins for almost everyone.
Google tag vs Google Tag Manager: the differences
| The Google tag (gtag.js) | Google Tag Manager | |
|---|---|---|
| What you install | One snippet per tag ID | One container snippet |
| Sends data to | Google products only | Google and third-party tools |
| Custom events | Written in code by a developer | Built with triggers and variables, mostly without code |
| Testing | Tag Assistant | Preview mode with Tag Assistant |
| Change history | Your site’s code history | Versions with one-click rollback |
| Team access | Whoever can edit the site | User permissions per container |
| Consent | Consent Mode commands in code or from your CMP | Consent Mode plus consent checks on every tag |
| Server-side tagging | Can send to a server container | Can send to a server container |
| Learning curve | Low for the basics | Moderate |
| Cost | Free | Free (Tag Manager 360 is paid) |
When the Google tag alone is enough
- A small site that uses only GA4 and maybe Google Ads, with page views and enhanced measurement as its only events.
- A platform that installs the Google tag for you (Shopify, Wix, Squarespace and others have their own Google integrations) and you don’t need anything beyond it.
- A developer team that prefers every tag in the code and already has code review and testing in place.
When Google Tag Manager is the better choice
- You run Google Ads and track conversions: form submissions, calls, purchases.
- You use non-Google tags: the Meta pixel, Microsoft Advertising UET, LinkedIn, TikTok, CallRail, a heatmap tool.
- You need events beyond page views: clicks, form steps, scroll depth, video.
- You need Consent Mode v2 with a cookie banner and want non-Google tags blocked until consent.
- More than one person or an agency touches tracking, and you want a history of who changed what.
- You might move to server-side tagging later.
That’s nearly every business I work with, which is why my default is Tag Manager.
Using the Google tag inside Tag Manager
You don’t choose one or the other inside a Tag Manager setup. The Google tag lives inside the container:
- In Tag Manager, go to Tags → New → Tag Configuration and choose Google tag.
- In Tag ID, enter your GA4 measurement ID (
G-...) or Google Ads ID (AW-...). - Optionally add Configuration settings (parameters set when the tag loads) and Shared event settings (parameters sent with every event), or reusable variables for both.
- Under Triggering, choose Initialization - All Pages, save and publish.
Your GA4 event tags and Google Ads conversion tags then use that Google tag. The step-by-step for GA4 is in how to install the GA4 tag using Google Tag Manager.
Don’t paste the gtag.js snippet into a Custom HTML tag. It works around Tag Manager’s own Google tag, misses consent handling, and is a common source of double counting.
Server-side tagging
Both options can send data to a server-side Tag Manager container, which runs on your own cloud server and forwards data to Google and other tools from there. It can improve data control and page speed, but it has a monthly hosting cost and needs maintenance. I cover when it’s worth it in server-side tagging with Google Tag Manager.
Performance: which one is faster?
Both load a JavaScript file from Google, asynchronously, so neither blocks your page from rendering. What actually slows a site down is what’s inside: twenty marketing tags firing on every page cost more than either snippet. Practical points:
- A lean Tag Manager container with a handful of tags is not meaningfully slower than the Google tag alone.
- The 2026 container optimization removes the extra gtag.js files Tag Manager used to load for Google destinations.
- Fire third-party tags only where they’re needed (a conversion pixel on the thank-you page, not on every page).
- Clean out paused and unused tags. Old containers I audit often carry tags for tools the business stopped paying for years ago.
Common mistakes I see
- Double tagging. GA4 is hard-coded with gtag.js in the theme and added again in Tag Manager. Every page view is counted twice, sessions look normal, and the engagement rate and pages per session look strangely good. Pick one place.
- A plugin plus Tag Manager. A WordPress SEO or analytics plugin inserts the Google tag while Tag Manager loads it too. Same result as above.
- Two Google tags that should be one. A GA4 tag and a Google Ads tag installed separately, with different settings. Use one tag with both destinations, or combine them in the Google tag screen.
- gtag.js inside a Custom HTML tag. Use Tag Manager’s own Google tag instead.
- Google Ads conversions counted twice. The same conversion fires from a hard-coded snippet and from Tag Manager, or Google Ads counts both its own tag and an imported GA4 key event as primary.
- No one knows the container exists. The site has a Tag Manager container nobody can log in to. Before adding a second one, find out who owns the first.
How to check for double tagging
- Open Tag Assistant (tagassistant.google.com), connect your site and look at the tags found at the top. Two IDs for the same GA4 property, or a G- ID loading both from the page code and from a GTM container, is the warning sign.
- In Chrome’s Developer Tools → Network tab, filter by
collect. One page load should send onepage_viewper GA4 property. - In GA4, a sudden jump in views per session, or an engagement rate that’s too good to be true, after a site change, often means a second tag.
FAQ
Is gtag.js the same as the Google tag?
Yes. The global site tag (gtag.js) was renamed the Google tag, and Google converted existing global site tags automatically. The snippet still loads a library and uses the gtag() function.
Can I use Google Tag Manager and gtag.js on the same site?
Technically yes, but only if they don’t send the same data. The safe rule is one place per measurement: if GA4 is in Tag Manager, remove the hard-coded GA4 snippet. Running both for the same property is the most common cause of double-counted page views I find.
Does Google recommend Tag Manager or the Google tag?
Google’s developer documentation recommends Tag Manager for anyone installing a Google tag for the first time, and says existing gtag.js setups remain supported.
Do I need to change anything because of the 2026 merger?
Not immediately. Existing Google tags and containers keep working. In Tag Manager, you’ll see an offer to optimize your container; preview it, check your Google tags still fire, then publish. If you build a new site, start with Tag Manager.
Is Google Tag Manager free?
Yes. Tag Manager is free; Tag Manager 360, part of Google Marketing Platform, is the paid enterprise version. Server-side tagging is also free to use, but you pay for the server it runs on.
Need help choosing or cleaning up your tags?
I set up Google Tag Manager, move hard-coded tags into it, remove double tagging and make sure GA4 and Google Ads count each conversion once. If you’re not sure what’s on your site or who installed it, ask me for a tracking review and I’ll map it out for you.


