

What Is Google Tag Manager (GTM) and How Does It Work?
Instead of manually changing the website code every time you need to add or update a tracking script, you can manage most tags through Google Tag Manager.
GTM is commonly used to manage Google Analytics 4 (GA4), Google Ads conversion tracking, Floodlight, Meta Pixel, and other analytics and advertising tags. It can also help track specific user interactions, such as button clicks, form submissions, purchases, downloads, and other events.
At its core, Google Tag Manager works with tags, triggers, variables, and the data layer to determine what information should be collected and when a particular tag should fire. This gives marketers and analysts more flexibility in managing measurement while reducing the need to involve developers in every routine tracking change.
In this guide, we explain what Google Tag Manager is, how GTM works, what it is used for, and how it differs from Google Analytics and the Google tag. We will also look at its key components, benefits, setup process, and when businesses should use it.
What Is Google Tag Manager?
Google Tag Manager (GTM) is a tag management system that helps businesses control the tracking and marketing technologies used on their websites and apps. It acts as an intermediary between a website and tools such as Google Analytics 4, Google Ads, Floodlight, Meta Pixel, and other analytics or advertising platforms.
In this context, a tag is a piece of code that sends information from a website or app to another system. For example, a tag can record a purchase in GA4, send a conversion to Google Ads, or activate a remarketing pixel after a user visits a specific page.
Without a tag management system, adding or changing these scripts often requires modifying the website’s source code. With GTM, a container code is installed on the website, while individual tags can then be configured and managed through the Google Tag Manager interface. This makes routine tracking changes faster and gives marketing and analytics teams more control over measurement.
GTM stands for Google Tag Manager. Its main purpose is not to analyze data itself, but to manage how and when data is collected and sent to other platforms. Google Analytics, for example, processes and reports user behavior, while Google Tag Manager helps determine which tracking tags should fire and under what conditions.
This is possible through several core components — tags, triggers, variables, and the data layer. Together, they allow GTM to define what should happen, when it should happen, and what information should be passed to the relevant analytics or advertising platform.
Next, let’s look more closely at how this process works.
How Does Google Tag Manager Work?
Google Tag Manager works as a management layer between your website or app and the analytics, advertising, and marketing platforms that need to receive data. Once the GTM container is installed, you can configure what should be tracked, when tracking should occur, and where the collected data should be sent.
In simple terms, the process looks like this:
Website or app → GTM container → trigger condition is met → tag fires → data is sent to GA4, Google Ads, Floodlight, or another platform.
For example, suppose you want to track successful form submissions as conversions. Google Tag Manager can detect the relevant interaction, use a trigger to determine when the conversion has occurred, and fire a tag that sends the event to the required measurement or advertising platform.
This process is built around four key components: tags, triggers, variables, and the data layer.
Tags
A tag is a piece of code or a configuration that performs a specific action when it is triggered. Most commonly, tags are used to send information from a website or app to another platform.
For example, GTM tags can be used to:
- send events and parameters to Google Analytics 4;
- record conversions in Google Ads;
- implement Floodlight tags for Campaign Manager 360;
- deploy remarketing and advertising pixels;
- run supported third-party or custom tags.
Instead of adding each of these tracking scripts directly to the website code, they can be configured and managed through the GTM container.
Triggers
Triggers determine when and under what conditions a tag should fire. Every tag in Google Tag Manager needs a firing condition that tells GTM when the corresponding action should take place.
A trigger can respond to interactions and events such as:
- a page view;
- a button or link click;
- a form submission;
- a specific custom event;
- a user reaching a particular page;
- another condition defined in the GTM configuration.
For example, a Google Ads conversion tag could be configured to fire only after a user successfully completes a lead form rather than every time the page loads.
Variables
Variables provide GTM with values that tags and triggers can use. They add context to what is happening on the website and make tracking configurations more flexible.
A variable can contain information such as a page URL, click text, element ID, event name, transaction value, product information, or another value needed for measurement.
For example, instead of creating separate tags for every ecommerce transaction value, GTM can use a variable to dynamically retrieve the value of each purchase and pass it to the relevant analytics or advertising platform.
GTM includes a range of built-in variables, while custom variables can be created for more specific tracking requirements.
Data Layer
The data layer is a structured way for a website or app to pass information to Google Tag Manager. It provides GTM with data that may not be reliably available from the page itself, such as transaction details, product information, user interactions, or custom business events.
For example, after a purchase, an ecommerce website can push information about the transaction — such as the transaction ID, purchase value, currency, and purchased items — to the data layer. GTM can then use this information in variables, evaluate the relevant trigger, and send the required data to GA4, Google Ads, Floodlight, or other platforms.
Using a well-structured data layer is particularly important for ecommerce tracking, custom events, and more complex measurement setups, where reliable and consistent data needs to be shared across multiple platforms.
Together, these components create the basic logic of Google Tag Manager:
the data layer provides information → variables make that information available → triggers determine when an action should occur → tags send the required data to the destination platform.

What Is Google Tag Manager Used For?
Google Tag Manager is used to manage tracking and marketing tags and control how data is collected from a website or app and sent to analytics and advertising platforms. Instead of implementing each tracking script separately in the website code, teams can manage many of these configurations through a single GTM container.
The exact setup depends on the business and its measurement needs, but some of the most common Google Tag Manager use cases include:
- Google Analytics 4 tracking. GTM can be used to deploy the Google tag and configure GA4 events and parameters. This allows businesses to measure page views, user interactions, leads, purchases, and other actions relevant to their goals.
- Google Ads conversion tracking. Businesses can use GTM to send conversion data to Google Ads when users complete valuable actions, such as submitting a lead form, making a purchase, registering, or completing another defined conversion.
- Floodlight implementation. For businesses using Campaign Manager 360 or Display & Video 360, GTM can help implement and manage Floodlight activities used for conversion measurement, audience creation, and campaign analysis.
- Meta Pixel and other third-party tags. GTM is not limited to Google products. It can also be used to deploy supported third-party marketing and analytics technologies or custom HTML tags when an appropriate native template is not available.
- Click, form, and video interaction tracking. GTM can detect specific user interactions, such as clicks on CTA buttons and links, form submissions, downloads, and certain video interactions, and send these events to analytics or advertising platforms.
- Ecommerce tracking. Online stores can use GTM together with a structured data layer to collect information about ecommerce actions such as viewing products, adding items to a cart, beginning checkout, and completing a purchase. Transaction value, currency, product information, and other parameters can then be passed to the relevant platforms.
- Custom event tracking. When standard page views and built-in interactions are not enough, GTM can work with custom events to measure actions specific to a website or business. This is particularly useful for complex funnels, interactive website elements, and custom measurement requirements.
- Consent management. GTM can also be part of a consent management setup. For example, it can work with Google Consent Mode and consent management platforms to control how Google tags behave based on a user’s consent choices.
In practice, these use cases can be combined within the same GTM container. A single user action — such as completing a purchase — may need to be measured in GA4, Google Ads, Floodlight, and other platforms. Google Tag Manager provides a centralized way to manage these configurations while keeping the tracking logic more structured and easier to maintain.
Google Tag Manager vs Google Analytics
Google Tag Manager and Google Analytics 4 (GA4) are different tools that often work together. GTM helps manage and deploy tracking tags, while Google Analytics collects, processes, and reports the data generated by user interactions.
In simple terms, Google Tag Manager controls how tracking is implemented, while Google Analytics helps you understand the data that has been collected.
For example, if a business wants to measure form submissions, GTM can detect the relevant interaction and send an event to GA4. Google Analytics then processes that event and makes the data available in reports and explorations, where marketers and analysts can evaluate user behavior and performance.
| Google Tag Manager (GTM) | Google Analytics 4 (GA4) | |
|---|---|---|
| Main purpose | Manage and deploy tracking tags | Collect, process, and analyze data |
| What it does | Controls when and under what conditions tags fire | Turns collected events and parameters into analytics data and reports |
| Stores analytics data | No | Yes |
| Provides analytics reports | No | Yes |
| Tracks events | Helps configure and send events to measurement platforms | Receives and processes events for analysis |
| Works with other platforms | Yes — Google and third-party tags | Primarily Google Analytics measurement |
| Can they work together? | Yes | Yes |
It is also important to note that you do not necessarily need GTM to use Google Analytics. GA4 can be implemented directly on a website using the Google tag. However, GTM becomes particularly useful when a business needs to manage multiple tracking configurations, implement custom events, work with advertising platforms, or make regular measurement changes without modifying the website code each time.
So, GTM does not replace Google Analytics, and Google Analytics does not replace GTM. They solve different parts of the measurement process: GTM helps organize and control data collection, while GA4 provides the environment for analyzing that data and turning it into insights.

Google Tag Manager vs Google Tag (gtag.js)
Google Tag Manager and the Google tag (gtag.js) can both be used to implement measurement on a website, but they are not the same thing. The Google tag is primarily designed to send website data to Google products, while GTM is a broader tag management system that can manage Google, third-party, and custom tags from a centralized interface.
The Google tag (gtag.js) is a JavaScript framework that can be added directly to a website’s code. It can send data to Google destinations such as Google Analytics 4 and Google Ads. For relatively simple measurement setups — for example, when a business mainly needs standard GA4 measurement and Google Ads conversion tracking — using the Google tag directly may be sufficient.
Google Tag Manager, on the other hand, provides a dedicated interface for configuring and managing tags. After the GTM container has been installed, teams can deploy and update many tracking configurations without editing the website code for every change. GTM also supports a wide range of third-party and custom tags, making it more suitable for complex measurement ecosystems.
| Google tag (gtag.js) | Google Tag Manager (GTM) | |
|---|---|---|
| What it is | JavaScript tagging framework | Tag management system |
| Implementation | Added directly to website code | Managed through a GTM container and interface |
| Google products | Yes | Yes |
| Third-party and custom tags | No — sends data to Google services | Yes |
| Ongoing code changes | May require changes to website code | Many tag changes can be managed through GTM |
| Version control and workspaces | Depends on the website’s development workflow | Built into GTM |
| Best suited for | Simpler Google-focused measurement setups | More complex setups involving multiple platforms and tags |
| Cost | Free | Free |
It is important to note that these are not necessarily competing technologies. Google Tag Manager can be used to deploy the Google tag itself. Google also states that businesses already using GTM can continue using it for Google Ads and Google Marketing Platform tags without adding separate gtag.js code to the website.
The terminology has also changed over time. What was previously known as the global site tag has evolved into the Google tag, and the former GA4 Configuration tag in GTM has been upgraded to the Google tag. This is why older tutorials may use terminology that no longer matches the current Google Tag Manager interface.
For businesses that only need basic Google measurement, the Google tag may be enough. For teams that need to manage GA4, Google Ads, Floodlight, third-party platforms, custom tracking, or more complex measurement configurations in one place, Google Tag Manager generally provides greater flexibility and centralized control.
Benefits of Google Tag Manager
Google Tag Manager makes it easier to manage tracking across websites and apps, especially as the number of analytics and advertising technologies grows. Instead of treating every tracking change as a separate development task, GTM provides a centralized environment where teams can configure, test, publish, and maintain tags.
The key benefits of Google Tag Manager include:
Faster Tag Deployment
Once the GTM container is properly implemented, many tracking changes can be made directly through the Tag Manager interface. Teams can add new tags, adjust triggers, or update existing configurations without waiting for a separate website release every time.
This can significantly shorten the time between identifying a measurement need and implementing it.
Less Dependency on Developers
GTM allows marketers and analysts to handle many routine tracking tasks independently, such as configuring standard events, conversion tags, or advertising pixels.
However, Google Tag Manager does not eliminate the need for developers entirely. More complex implementations — including ecommerce data layers, custom events, or integrations that require access to application logic — may still require development support.
Centralized Tag Management
Instead of maintaining numerous tracking scripts separately in the website code, GTM provides one interface for managing tags, triggers, and variables.
This is particularly useful for businesses working with multiple platforms, such as GA4, Google Ads, Campaign Manager 360, Display & Video 360, Meta, and other marketing or analytics tools. A centralized setup makes it easier to understand what tracking is active and how different configurations are connected.
Testing and Debugging
One of GTM’s major advantages is the ability to test changes before publishing them. Preview mode and Tag Assistant help teams check which tags fire, which triggers are activated, and what data is being passed.
This helps identify implementation problems before changes are released to all website visitors and reduces the risk of incorrect or missing measurement data.
Version Control
Whenever a GTM container is published, a new container version is created. Previous versions remain available, making it possible to review historical configurations and restore an earlier version when necessary.
Version history is especially valuable when multiple tracking changes are being made over time, as it provides a clearer record of how the measurement setup has evolved.
Collaboration and Access Management
Google Tag Manager supports user permissions and collaborative workflows, allowing organizations to control who can view, edit, approve, or publish changes.
GTM 360 also provides additional collaboration capabilities, including workspaces, which allow different teams or users to work on separate sets of changes within the same container before merging and publishing them.
Support for Google and Third-Party Tags
GTM integrates with major Google measurement and advertising products, including Google Analytics, Google Ads, and Floodlight, while also supporting a range of third-party tag templates.
For configurations that do not have an appropriate template, GTM also provides options for custom implementations. This makes it possible to manage much of a company’s measurement and marketing technology ecosystem through a single tag management system.
Together, these capabilities make Google Tag Manager particularly valuable as tracking becomes more complex. Its main advantage is not simply that tags can be added faster, but that organizations gain a more structured and manageable process for implementing, testing, and maintaining measurement across multiple platforms.

Does Google Tag Manager Affect Website Performance?
Google Tag Manager does not automatically make a website faster or improve SEO. GTM is primarily a tool for managing tags, and its impact on website performance depends largely on how the container and the tags inside it are configured.
The GTM container itself loads asynchronously, which means it is designed to minimize interference with the loading of other page elements. However, the scripts deployed through GTM can still consume browser resources, make network requests, and execute JavaScript. As a result, a container with numerous or poorly optimized tags can contribute to slower page performance.
Common factors that can affect performance include:
- Too many tags firing on every page, even when they are not required;
- Heavy third-party scripts for advertising, analytics, heatmaps, chat widgets, or other services;
- Custom HTML and JavaScript tags that are inefficient or execute unnecessary code;
- Duplicate tracking implementations, where the same technology is loaded more than once;
- Incorrect trigger configurations that cause tags to fire more frequently than necessary.
GTM can, however, make tracking implementations easier to organize, audit, and optimize. Teams can review which tags are active, control when they fire, remove outdated configurations, and test changes before publishing them.
Website performance can indirectly affect SEO because metrics related to page experience and Core Web Vitals are among the signals Google considers. But installing Google Tag Manager itself does not provide an SEO advantage. What matters is the overall performance of the website and the scripts running through it.
For this reason, GTM should be treated as a tag management tool rather than a website optimization tool. A well-maintained container can support a cleaner measurement setup, while an overloaded or poorly configured one can add unnecessary performance overhead.
Who Should Use Google Tag Manager?
Google Tag Manager is useful for businesses and teams that need to manage analytics, advertising, and conversion tracking across websites or apps. It becomes particularly valuable as the number of measurement tools, marketing platforms, and tracked user interactions increases.
GTM can be useful for:
- Marketers — to implement and update advertising and measurement tags, configure conversion tracking, and respond faster to new campaign requirements without requesting a website release for every routine change.
- Analysts — to create structured tracking setups, configure events and parameters, and ensure that the data required for analysis is sent correctly to platforms such as GA4.
- Performance marketing teams — to manage conversion tracking for Google Ads, Floodlight, remarketing, and other advertising technologies across multiple campaigns and platforms.
- Ecommerce businesses — to measure actions throughout the customer journey, including product views, add-to-cart events, checkout steps, purchases, transaction values, and other ecommerce interactions.
- Digital agencies — to manage and maintain tracking configurations across multiple client projects while using access permissions, testing tools, and version history to keep implementations organized.
- Businesses using multiple analytics and advertising platforms — to centralize tags from Google and third-party services instead of managing numerous tracking scripts separately in the website code.
However, GTM does not completely remove the need for developers. Many standard tracking configurations can be handled by marketers or analysts, but more advanced implementations often require technical support.
For example, developers may be needed to create a reliable data layer, implement complex ecommerce tracking, expose custom application events, or build integrations that depend on website or application logic. In these cases, GTM provides the infrastructure for managing measurement, while developers ensure that the required data is available correctly and consistently.
How to Set Up Google Tag Manager: Step-by-Step Guide
Setting up Google Tag Manager takes no more than 15 minutes — but it unlocks powerful capabilities for analytics, advertising, and automation. Here’s how to get started.
Create a Google Tag Manager Account
Go to the official Google Tag Manager site: https://tagmanager.google.com/ and click “Create Account”.
Fill in the following details:
- Account Name (usually your company or project name)
- Country
- Container Name (typically your website domain)
- Target Platform — choose one: Web, iOS, Android, or AMP
This is your first Google Tag Manager account, where all your tags, triggers, and variables will be stored.
Create a Container
A container is a bundle of all your tags for a specific website or app.
Once created, GTM will generate a container code snippet that you need to install on your site.
Add the GTM Code to Your Website
You’ll receive two code snippets:
- The first goes inside the <head> tag
- The second goes immediately after the opening <body> tag
These snippets are essential — they activate Google Tag Manager on your website.
If you’re using a CMS like WordPress, you can install GTM using dedicated plugins — no manual coding needed.
Add Your First Tag (e.g., Google Analytics)
To set up Google Analytics 4 via GTM:
- Click “New Tag” → choose GA4 Configuration
- Enter your Measurement ID (it looks like G-XXXXXXX)
- In the Triggering section, select All Pages — so the tag fires on every page
- Save your tag
Congratulations — you’ve just implemented your first GTM Google Analytics tag!
Other Tags: Facebook Pixel, LinkedIn, Custom HTML
GTM supports dozens of tag types, including:
- Facebook Pixel — added using a Custom HTML tag + your pixel code
- LinkedIn Insight Tag — also added via Custom HTML
- Google Ads Remarketing Tag — available as a built-in template
- Custom Events — for tracking specific actions like clicks, form submissions, or scroll depth
All of this can be configured without editing your website’s source code.
Need help? Reach out to our expert team at info@newage.agency — our analysts can audit your setup and configure everything you need.
Preview, Test, and Publish
- Click “Preview” — this will open GTM in debug mode
- Test your website to see if the tags fire correctly
- Once everything looks good, click “Submit” to publish your changes
That’s the basic lifecycle of working with GTM tags: Create → Test → Publish.
Google Tag Manager isn’t just a tool — it’s a full-fledged tag manager system that lets you manage all your site’s scripts in a flexible, secure, and scalable way.
Google Tag Manager 360: When Do You Need It?
Google Tag Manager 360 is the enterprise version of Google Tag Manager available as part of Google Marketing Platform. It builds on the core functionality of the standard GTM version but adds capabilities designed for organizations with larger teams, more complex measurement environments, and enterprise-level requirements.
For many businesses, the free version of Google Tag Manager provides everything needed for day-to-day tag management. GTM 360 becomes more relevant when tag management needs to scale across teams, websites, markets, or complex advertising and analytics ecosystems.
Key advantages include:
- Workspaces for team collaboration, allowing multiple teams to work on different sets of container changes simultaneously;
- Zones, which can help large organizations delegate tag management for specific parts of a website while maintaining centralized governance;
- More advanced access and governance capabilities for organizations with multiple teams and stakeholders;
- Enterprise support and service-level agreements (SLAs) for business-critical implementations;
- Higher limits and additional enterprise capabilities designed for larger and more complex tagging environments.
GTM 360 can be particularly useful for organizations working extensively with the Google Marketing Platform ecosystem, including Google Analytics 360, Campaign Manager 360, Display & Video 360, and Search Ads 360, where measurement often needs to be coordinated across multiple platforms, markets, and teams.

However, upgrading to GTM 360 is not necessary simply because a company uses many tags. The decision should depend on factors such as implementation complexity, collaboration requirements, governance, scale, and the importance of enterprise support.
At newage., we work within the Google Marketing Platform ecosystem, helping businesses build and manage measurement infrastructure across tools such as Google Tag Manager, Google Analytics 360, Campaign Manager 360, Display & Video 360, and Search Ads 360. This experience allows us to approach GTM not as an isolated tool, but as part of a broader measurement and advertising ecosystem.
For large organizations, the main value of GTM 360 is therefore not just tag deployment, but the ability to manage complex measurement infrastructure in a more controlled and scalable way.
Google Tag Manager with newage.
At newage., we work with Google Tag Manager as part of the broader Google Marketing Platform ecosystem, helping businesses build reliable measurement infrastructure for digital marketing and advertising.
Our team can support businesses with GTM implementation and audits, GA4 tracking, Floodlight configuration, Google Ads conversion tracking, Consent Mode, data layer requirements, custom event tracking, and measurement architecture across multiple platforms.
If you need to implement Google Tag Manager, audit an existing setup, or build a more complex measurement infrastructure, contact newage. to discuss your project.
FAQ: About Google Tag Manager
Is Google Tag Manager free?
Yes. Google Tag Manager is available for free and provides the functionality most businesses need to manage tags on their websites and apps. Google also offers Google Tag Manager 360 for organizations that require additional enterprise capabilities, collaboration features, governance, and support.
What does GTM stand for?
GTM stands for Google Tag Manager. It is Google’s tag management system for deploying and managing analytics, advertising, and other tracking tags from a centralized interface.
Is Google Tag Manager the same as Google Analytics?
No. Google Tag Manager and Google Analytics 4 serve different purposes. GTM manages the implementation and firing of tracking tags, while GA4 collects, processes, and reports analytics data. They are commonly used together: GTM can send events and parameters to GA4, and GA4 then processes this information and makes it available for analysis.
Do I need Google Tag Manager if I use GA4?
Not necessarily. GA4 can be implemented without Google Tag Manager by adding the Google tag directly to a website. However, GTM can be useful if you need more flexible event tracking, manage multiple analytics and advertising tags, frequently change measurement configurations, or want to centralize tracking in one interface.
Does Google Tag Manager require coding?
Basic GTM configurations can often be created without writing code, especially when using built-in tags, triggers, and variables. However, more complex implementations may require technical knowledge or developer support. Examples include building a structured data layer, implementing advanced e-commerce tracking, working with custom JavaScript, or tracking interactions that depend on application logic.






