Google Tag Manager Vs Google Analytics: What Each One Does

Google Analytics 4 (GA4) collects, stores, and reports data about how people use your website or app. Google Tag Manager (GTM) is a separate tool that holds and deploys the tracking tags that send data into GA4 and other platforms. They are not competitors; they are designed to work together.

If you are setting up measurement for the first time, the choice between tag manager vs google analytics is not an either-or. You need GA4 to see reports. You may use Tag Manager to install and update your tracking without touching your site code each time. This article explains what each tool does, how they connect, and when you need both.

The Short Answer

Google Analytics 4 is a measurement platform that receives data from your website or app and builds reports. Google Tag Manager is a tag management system that loads scripts on your pages and sends data to GA4 (and other tools) based on rules you define. You can use GA4 without Tag Manager by installing the Google tag directly. But Tag Manager becomes valuable as soon as you need to add conversion pixels, event tracking, or third-party tags without editing your site’s HTML each time.

The Google tag (gtag.js) is the underlying JavaScript library that sends data to Google services. GTM can load the Google tag on your behalf, along with third-party tags like Facebook or LinkedIn. Google has upgraded the Google tag to include capabilities that were once exclusive to GTM, such as UI-driven configuration and version control. However, GTM still offers a dedicated interface for triggers, variables, and workspaces that the standalone Google tag does not replicate.

Here is a side-by-side summary of the two tools:

Google Analytics 4Google Tag Manager
Measurement and reporting platformTag management system
Shows reports on traffic, conversions, user behaviorHolds tags, triggers, and variables; fires tags on your site
Data collection requires a Google tag or GTMCan deploy GA4 tags, Google Ads, third-party, and custom tags
FreeFree
Configured at analytics.google.comConfigured at tagmanager.google.com

Both tools are free. A single Analytics account can hold up to 2,000 properties. Each property can have multiple data streams for web and app. A single GTM container can replace all your manually-coded tags, and you can create multiple containers under one account. You can start with the Google tag and migrate to GTM later; the two can coexist during a migration. For most websites, Google recommends starting with Tag Manager, using it to deploy the Google tag and any GA4 event tags, because it centralizes tag management and reduces reliance on developers.

What Google Analytics Does

Google Analytics 4 is the current version of Google’s web and app analytics platform. It collects event-based data rather than session-based hits, and it can receive data from websites, iOS apps, and Android apps through the same property. Once data arrives, GA4 processes it and presents reports on acquisition, engagement, monetization, and demographics.

How to set up GA4 data collection

  1. Go to analytics.google.com and create an account if you do not have one.
  2. In Admin, click Create and select Account. Provide an account name and configure data-sharing settings.
  3. Click Next to add a property. Enter a property name, select the reporting time zone and currency. Click Next, select your industry category and business size, then choose how you intend to use Google Analytics. GA4 tailors the default reports to that choice.
  4. After creating the property, go to Admin > Data Streams (under Data collection and modification) and click Add stream. Choose Web, enter your website URL and a stream name. Keep Enhanced measurement enabled to automatically track page views, scrolls, outbound clicks, and more.
  5. Click Create stream. You will see a Measurement ID that starts with "G-". This ID links the data stream to your GA4 property. Learn where to find your GA4 Measurement ID.
  6. Add the Google tag to your site: either paste the tag into your CMS’s custom HTML field, insert it directly after the <head> tag on every page, or use Google Tag Manager. Data may take up to 30 minutes to appear in the Realtime report.

Once data flows, you can explore standard reports like Acquisition overview, Engagement overview, and Monetization overview. You can also create custom explorations, set up key events (conversions), and link to Google Ads for remarketing. The property settings let you manage user access, data filters, and attribution models.

Short on time? Analytics Art can check this in your property for you.

What Tag Manager Does

Google Tag Manager is a web-based interface that lets you create, edit, and publish tracking tags without modifying your website’s source code. After you add two small code snippets to your pages, you manage everything else at tagmanager.google.com. The snippets load a container that holds all your tag configurations.

A container includes three main building blocks:

  • Tags: snippets of JavaScript or HTML that send data to a specific service. GTM supports Google tags (GA4, Google Ads, Floodlight), third-party tags, and custom HTML tags.
  • Triggers: rules that determine when a tag should fire. Examples include page view, click, form submission, or custom events pushed to the data layer.
  • Variables: placeholders that capture dynamic values (like a click URL or a GA4 Measurement ID) and make tag configurations reusable.
Click path: Google Tag Manager then Workspace then OverviewGoogle Tag ManagerWorkspaceOverview
The Tag Manager workspace overview for a web container.

Tag Manager also provides version control and workspaces. Every change you publish creates a new container version, so you can roll back if needed. Workspaces let multiple team members work on tag changes in parallel without overwriting each other’s work.

Google upgraded the GA4 Configuration tag to the Google tag. If you used the older tag type, it was automatically converted. The Google tag can send data to multiple destinations (GA4, Google Ads) from a single tag. Separately, Tag Manager offers an upgraded container experience: one container loads all tags, with settings and permissions at the container level. Google lists less JavaScript on your pages, a centralized settings tab and simpler team access as its benefits.

Tag Manager is free and works with many CMS platforms. If your CMS does not support Tag Manager, you can fall back to the Google tag (gtag.js) directly.

How They Work Together

When you use Google Tag Manager with Google Analytics 4, GTM acts as the delivery mechanism. You create tags in GTM that send data to your GA4 property. The GA4 property receives the data and populates your reports. This setup decouples data collection from reporting: you can add, remove, or modify tags in GTM without touching your site code, and GA4 continues to report on whatever data it receives.

Here is the standard way to connect the two tools:

  1. In your GA4 property, go to Admin > Data Streams and copy the Measurement ID (G-XXXXXXX).
  2. In Tag Manager, create a new tag. Choose the tag type Google tag (it replaced the old Google Analytics: GA4 Configuration tag).
  3. Paste your Measurement ID into the Tag ID field.
  4. Set the trigger to All Pages so the tag fires on every page load. This sends a page_view event to GA4 automatically.
  5. Name the tag (e.g., "GA4 Config") and save.
  6. To track additional events, create separate tags of type Google Analytics: GA4 Event. Configure them with event names and parameters, and set triggers for the specific interactions (clicks, form submissions, etc.).
  7. Use the Preview mode in GTM to test that tags fire correctly before publishing the container version.

Read the full guide on setting up GA4 with Google Tag Manager.

Tag Manager can also send data to other platforms alongside GA4. For example, a single page view can fire the Google tag, a Google Ads remarketing tag, and a Facebook pixel, all managed from one container. Variables let you reuse the Measurement ID across multiple tags, so you only need to update it in one place if it changes.

If you later need server-side tagging, Tag Manager supports server containers. Even with gtag.js on the page, you still need Tag Manager to deploy and work with the server container, which can then forward data to GA4 and other endpoints.

Do You Need Both?

You do not have to use Google Tag Manager to get data into Google Analytics 4. The Google tag (gtag.js) can send page views, events, and user properties directly to GA4. Many content management systems (Shopify, Wix, Squarespace, etc.) have a field where you can paste your GA4 Measurement ID, and they handle the tag insertion for you. If all you need is basic traffic and engagement reporting, and you do not plan to add other marketing pixels, the Google tag alone may be enough. Learn how to add Google Analytics to your website without Tag Manager.

However, Tag Manager becomes the better choice in several common situations:

  • You want to track custom events that require specific triggers (e.g., button clicks, video plays, scroll depth) without writing JavaScript on every page.
  • You run ads on multiple platforms and need to manage Google Ads, Facebook, LinkedIn, and other pixels from one place.
  • You work with a team and need version control and workspaces for tag changes.
  • You plan to use a data layer to pass structured information (user IDs, product details, transaction values) to your tags.
  • You want to implement server-side tagging, which is natively supported in Tag Manager.

Because Tag Manager is free, there is no cost barrier to using it. The main trade-off is the initial learning curve. You need to understand containers, triggers, and variables, and you must test your setup with Preview mode before publishing. Once configured, however, it saves time whenever you need to update or add tracking.

You can also start with the Google tag and migrate to Tag Manager later. The two methods can coexist during a migration: Tag Manager will fire its tags alongside any hardcoded gtag.js snippets. The best practice is to eventually move all tags into Tag Manager to keep management centralized.

Frequently Asked Questions

What Is The Difference Between Google Tag Manager And Google Analytics?

Google Analytics is a reporting platform that shows you data about your website traffic and user behavior. Google Tag Manager is a tool for managing the tracking codes that send data to Google Analytics and other services. You need GA4 to see reports; you can use Tag Manager to deploy and update those tracking codes without editing your site’s HTML.

What Is Google Tag Manager?

Google Tag Manager is a free tag management system from Google. You add two code snippets to your site, then use the web interface at tagmanager.google.com to create and edit tags, triggers, and variables. It supports Google tags, third-party tags, and custom HTML tags, and includes version control and preview tools.

Are GA4 And Google Ads The Same?

No. GA4 is an analytics platform that measures website and app performance. Google Ads is an advertising platform where you create and run ads. You can link GA4 and Google Ads to share audiences and conversion data, but they serve different purposes.

What Is The Difference Between GTAG And GTM?

gtag.js (the Google tag) is a JavaScript library you add directly to your pages to send data to Google services. Google Tag Manager is a tag management system that can load gtag.js and other tags through a web interface. gtag.js requires code changes; Tag Manager lets you manage tags without editing site code.

Where Can I Find My Google Analytics Tag?

In GA4, go to Admin > Data streams, click your web stream, and copy the Measurement ID that starts with 'G-'. To get the full JavaScript snippet, click View tag instructions under the Google tag section. You can paste that snippet into your site or use it in Tag Manager.

How Much Does Google Tag Manager Cost?

Google Tag Manager is free. There is no cost to use the standard version.

How Does Google Tag Manager Work?

You add two code snippets to your website. These load a container from Google’s servers. Inside the container, you configure tags (tracking code), triggers (when to fire), and variables (dynamic values). When a trigger condition is met, the corresponding tag fires and sends data to the specified service.