Short answer: Google Tag Manager (GTM) puts tracking code on your website and decides when it runs. Google Analytics 4 (GA4) receives the data from that code, stores it and shows reports. GTM has no reports, and GA4 does not manage other tools’ tags. Most B2B sites use both: GTM to install the GA4 tag and the ad platform tags, GA4 to see where leads come from.
In this comparison GTM means Google Tag Manager, not go-to-market. Every claim about how the two products work comes from Google’s own documentation, linked in each section and read on 13 November 2026.
Google Tag Manager vs Google Analytics 4 at a glance
| Google Tag Manager | Google Analytics 4 | |
|---|---|---|
| What it is | A tag management system (Google) | Google’s analytics product for websites and apps (Google) |
| Its job | Install tags and decide when they fire | Collect events, store them and report on them |
| Reports | None; a Preview mode shows which tags fired | Realtime, acquisition, engagement, explorations and funnels |
| Works with | Google tags, third-party tags and custom tags (Google) | Data sent by the Google tag, Tag Manager or the Firebase SDK in apps |
| Main building blocks | Containers, tags, triggers and variables | Properties, data streams, events and key events |
| Who uses it daily | Whoever owns tracking: a marketing ops lead, developer or analyst | Marketers, founders and sales leaders reading reports |
| Cost | Free (Google) | Free for standard properties (Google); Analytics 360 is the enterprise edition |
| Login | tagmanager.google.com | analytics.google.com |
What does Google Tag Manager do?
Google describes Tag Manager as “a tag management system that allows you to set up and manage tags on your site without changing your website’s code” (Introduction to Tag Manager). You add two snippets of code to every page once. After that, tags are added and changed in the Tag Manager website.
Its four building blocks, in Google’s terms:
- Tags are the pieces of code that send data somewhere: the Google tag for GA4, a Google Ads conversion tag, the LinkedIn Insight Tag, a chat widget.
- Triggers decide when a tag fires: on every page view, on a form submission, on a click on the “Book a demo” button.
- Variables hold values a tag or trigger needs, such as the page path or the form ID.
- A container is the set of tags, triggers and variables for one website or app. Google says a container “can replace all other manually-coded tags on a site or app, including tags from Google Ads, Google Analytics, Floodlight, and 3rd party tags.”
Tag Manager also keeps versions of the container and lets several people work in separate workspaces (Google’s comparison table), so a bad change can be rolled back.
What does Google Analytics 4 do?
GA4 is where the data lands. You create a property, add a web data stream for your site, and install the Google tag (Set up Analytics). Google recommends turning on enhanced measurement, which collects page views and other events automatically. Google says data collection can take up to 30 minutes to begin after the tag is installed.
For a B2B site, three GA4 features matter most:
- Key events. You mark the events that matter to the business, such as a demo request or a pricing page view, as key events. Standard properties can mark up to 30 events as key events, and Analytics 360 properties up to 50 (Google).
- Acquisition reports. Where sessions and key events came from: organic search, paid, LinkedIn, email, referral. Tag your links with UTM parameters or these reports put campaign traffic in the wrong bucket.
- Explorations. Custom funnels and path reports. Their data is limited by your retention setting: 2 or 14 months on standard properties, and up to 50 months on Analytics 360 (Google). Standard reports are not affected. Choose 14 months when you create the property.
How do GTM and GA4 work together?
The usual setup:
- Create the GA4 property and web data stream, and copy the Measurement ID (it starts with “G-”).
- Install the Tag Manager container snippets on every page of the site.
- In Tag Manager, add a Google tag with that ID and the “Initialization - All Initialization Events” trigger (Google).
- Add GA4 event tags for the actions that matter, such as form submissions and demo bookings, each with its own trigger.
- Test in Preview mode with Tag Assistant, then publish a new container version.
- In GA4, mark the lead events as key events and check them in the Realtime report.
Your site can also pass details to Tag Manager through the data layer, which Google defines as “an object used by Google Tag Manager and gtag.js to pass information to tags” (Google). A developer adds a line such as dataLayer.push({'event': 'demo_booked'}) when a meeting is booked, and a Tag Manager trigger listens for it. That is more reliable than guessing from button clicks.
When do you need Google Tag Manager?
Google’s developer docs compare Tag Manager with gtag.js, the code-only way to install the Google tag (Tagging for Google Analytics):
| gtag.js (Google tag in code) | Google Tag Manager | |
|---|---|---|
| Changing tags | Edit the site’s code | No code edits after the container is installed |
| Which tools | Google products only | Google, third-party and custom tags |
| Version control | However you manage your code | Built-in versions and workspaces |
| Server-side tagging | Possible, but you still need Tag Manager for the server container | Supported |
| Cost | Free | Free |
In plain terms:
- GA4 alone is enough for a small site where you need page views, sources and one or two form events, especially if your CMS has a field for the Google tag ID. Google’s setup guide lists CMSs with that built in.
- Add Tag Manager when you run ads on Google and LinkedIn, use a chat or scheduling tool, and want the same “demo booked” event in GA4, Google Ads and LinkedIn. Without it, every new tag is a developer ticket.
- Consider server-side tagging only when you have a reason, such as controlling what data leaves your server. Google’s server-side tagging docs say the server runs in your own Google Cloud project or another environment, which you pay for and someone has to maintain.
Consent, privacy and both tools
If you have visitors in regions that require consent for cookies, Tag Manager’s consent features control how tags behave based on what each visitor allows. Google lists the consent types the Google tag reads: ad_storage, ad_user_data, ad_personalization and analytics_storage, plus settings for functionality, personalization and security storage (Google). Your consent banner sets them; GA4 and Google Ads adjust what they collect. This is set up in Tag Manager or the Google tag, not in GA4 reports, which is another reason teams with several tags end up using Tag Manager.
Common mistakes that break B2B lead tracking
- Installing GA4 twice. A hard-coded Google tag plus a Google tag in Tag Manager sends every page view twice and doubles your traffic. Use Preview mode to check each event fires once.
- Counting thank-you page views as leads. A refresh or a bookmark counts again. Fire the key event on the form’s success event or a data layer push.
- Not marking key events. GA4 collects many events by default. Google’s key events guide has you star the ones that are important to your business, and those are the ones to report on.
- Leaving data retention at 2 months. Explorations then lose data older than the window. Check the setting and choose 14 months.
- Stopping at GA4. GA4 can tell you a demo form was submitted from a LinkedIn campaign. It cannot tell you whether that lead became pipeline. Pass the source into your CRM with hidden form fields so sales and marketing see the same number.
That last point is where most B2B reporting breaks. GA4 sees sessions; your CRM sees deals. Our guides to attribution models and marketing attribution explain how to connect the two, and our SaaS marketing audit includes a GA4 checklist.
Which do you need?
Both, for most B2B companies with paid campaigns: GA4 to report, Tag Manager to install and manage every tag that feeds it and the ad platforms. If your site is small and you run no ads, start with GA4 and the Google tag, and add Tag Manager the day a second tool needs the same events.
If you want lead sources tracked from first visit to closed deal, Growigami puts AI agents on the work and CMOs and CROs on the result. Pick a process such as your website or paid; each starts at $1,999 a month, with a 3-month minimum and 30 days’ notice, and you approve everything before it goes out. See our website service.
Frequently asked
What is GA4 vs GTM?
GA4 (Google Analytics 4) is Google's analytics product: it receives events from your site or app, stores them and shows reports. GTM (Google Tag Manager) is a tag management system: it installs tags such as the Google tag for GA4, Google Ads or LinkedIn on your site and decides when they fire, without changing your site's code. GTM has no reports of its own.
Do I need Google Tag Manager if I have Google Analytics?
No. You can install GA4 with the Google tag (gtag.js) directly, or through your CMS's built-in field for the Google tag ID. Google recommends Tag Manager to get started and says it supports Google tags, third-party tags and custom tags, which matters once you run more than one tracking tool.
Does Google Tag Manager still exist?
Yes. Google Tag Manager is live and free, and Google's developer documentation for Google Analytics (last updated March 2026) recommends using Tag Manager to get started with the Google tag. Universal Analytics, the older version of Google Analytics, is what Google replaced with GA4.
Is Google Tag Manager free?
Yes. Google's comparison of Tag Manager and gtag.js lists the cost of both as free. Server-side tagging is different: Google's documentation says the tagging server runs in your own Google Cloud project or another environment you choose, so you pay for that hosting.
Can Google Tag Manager replace Google Analytics?
No. Tag Manager sends data to tools; it does not store or report it. You still need GA4, or another analytics tool, to see sessions, sources and key events. Tag Manager can send the same click or form event to GA4, Google Ads and LinkedIn at once.
What is the difference between Google Ads and Google Analytics?
Google Ads is where you buy and manage paid search and display ads and see their conversions. Google Analytics reports on all traffic to your site, paid and unpaid. Google's documentation says one Google tag can send data to Google Analytics and to other Google products such as Google Ads, so both can share the same site events.



















