Website tag management tool 

Google Tag Manager (GTM)

Two people work together at a computer in an office.
Ralph Grundmann · Last updated on 7 November 2026

Google Tag Manager, GTM for short, is a tool for managing tracking and marketing tags that primarily works client-side in the browser. With an additional server container, it can also be used for server-side tracking. It allows website owners to manage various marketing tags through a web interface, without touching the website code for each change. Tags are code snippets that collect information and send it to services such as Google Analytics or Google Ads.

What is Google Tag Manager?

According to Google, Tag Manager is a tag management system. You add a small code snippet to your website or app once. After that, you manage all other tracking codes in Tag Manager. The service is free, and there is also a paid product for large enterprises, Tag Manager 360. You sign in at tagmanager.google.com.

What does Google Tag Manager measure?

Tag Manager is not an analytics tool itself and does not store reports. It adds the tracking codes of other services and controls when they run. Examples include the tags for Google Analytics and Google Ads.

These tags can record how users behave, for example scroll depth, time on page, which elements they click and whether they fill in forms. You can also create your own tags for conversion tracking and other purposes, for example for the Meta Pixel.

Google Tag Manager or the Google tag (gtag.js)?

Both are free. According to Google, the Google tag is a single measurement tag for Google products, while Tag Manager is a system for managing many tags:

Feature Google tag (gtag.js) Google Tag Manager
Tags Google products only Google, other providers and your own tags
Changes Generally in the website code In the web interface
Testing and rollback Through your own development process Preview and earlier versions are built in
Suits Google tags only, with developers responsible Several tags, including from other providers. Recommended by Google

Use only one of the two for the same measurement, otherwise data can arrive twice. With Tag Manager, you do not need any additional gtag.js code. According to a help article from May 2026, Google is converting setups that use only the Google tag into full Tag Manager containers.

Tags, triggers and variables

Every measurement in GTM consists of these three building blocks:

Building block Function Example
Tag Code that runs and sends data to a service GA4 event, Google Ads conversion, Meta Pixel
Trigger Condition for when a tag fires or is blocked Page view, click on a button, submitted form
Variable Placeholder for a value used by tags and triggers Page path, link target, order value

For example, the tag “GA4 event enquiry” fires when the trigger “form submitted” applies on the contact page. A variable passes on the name of the form.

For common values, there are built-in variables such as Page Path or Click URL. Your own values from the shop or CMS are best passed through the data layer.

The container

A container is the collection of all tags, triggers, variables and related settings for a website or app. You usually create one container per website or app, with its own ID starting with GTM. The available types are Web, iOS, Android, AMP and Server. According to Google, one account per organisation is usually enough.

Changes start as a draft in the workspace. Publishing turns them into a new version that takes effect for visitors. Earlier versions are kept. Since 2026, Google has been gradually merging the Google tag and Tag Manager, so the interface may change. Our article on the Google Tag Manager 2026 update explains what this means for your container.

Permissions: who can do what?

You assign permissions separately for the account and container. At account level, an administrator can create containers and change user permissions, while users can see basic account information. Each container has these levels:

Level What is allowed
No access The container is not visible
Read View tags, triggers and variables
Edit Create and change workspaces without creating versions
Approve Also create versions, without publishing
Publish Put changes live

Anyone who can publish can run code on your website through custom HTML tags. Assign this permission sparingly.

Preview and Tag Assistant

Before publishing, you test in preview mode. For you, the website then behaves as if the draft were live. Tag Assistant shows which tags fired in which order, why a tag fired or did not fire and which data was passed. Regular visitors do not see any of this. You can share the preview with colleagues.

Google Tag Manager and the GDPR

Tag Manager helps you implement certain tracking measures. That does not automatically make it compliant with the EU General Data Protection Regulation (GDPR). Simply loading it establishes a connection to Google servers. In 2025 the Administrative Court of Hanover (Germany) ruled at first instance that using Google Tag Manager requires the consent of users (case no. 10 A 5385/22). The tools integrated through it, such as Google Analytics 4 or Matomo, must also be configured in a privacy-compliant way. Google Analytics 4 generally requires consent as well. If in doubt, have its use reviewed by a lawyer.

Even if Tag Manager only loads after consent, you define in the container which tag belongs to which consent, such as statistics or advertising. Tag Manager offers its own tools for this:

  • Consent Initialization trigger: it runs before all other triggers, so that settings apply in time.
  • Consent settings per tag: under Advanced Settings, you define whether a tag needs additional consent before it fires.
  • Consent overview: you activate it in the container settings and open it in the Tags area. There you can see which tags do not have consent configured yet.

For Google tags to respect consent, they need a signal, usually via Consent Mode v2. Alternatively, they can read the TCF string of a consent management platform. Tags from other providers are controlled via the consent check or via triggers. Many consent management platforms provide templates for Tag Manager. Our consent management service can help.

Web container and server container

The web container runs in the browser. From there, it sends data directly to Google or other providers. Server-side tagging adds a server container. It runs in a cloud environment under your control, receives requests from the web container, applies your own rules and then passes the data on. This means you decide what reaches which provider.

Both containers use the same principle of tags, triggers and variables. The server container also has clients, which turn incoming requests into events. Running it incurs server costs. Our article on client-side vs. server-side tracking compares both routes, and our server-side tracking page covers implementation.

How does Tag Manager get onto the website?

You create an account and a container linked to the website. You then paste the provided code as high up as possible in the head section of your website and the second part immediately after the opening body tag. In our assessment, Tag Manager should only load once users have given their consent. You control this via your consent management platform. Google points out that blocking tags can lead to data loss, so weigh this up legally and technically.

According to Google, the two parts of the code look like this. Replace GTM-ABCDEFGH with your container ID:

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-ABCDEFGH');</script>
<!-- End Google Tag Manager -->

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-ABCDEFGH"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

For website builders and content management systems such as WordPress, Shopify or Wix, Google refers to a separate guide that does not require changes to every page. All steps from the first tag to e-commerce tracking are shown in our Google Tag Manager tutorial (in German).

Does Tag Manager slow the website down?

The snippet loads the library asynchronously, so the page does not wait for it. According to Google, since 2026 Tag Manager also sends data to Google destinations without additionally loading gtag.js. The main slowdown comes from many or heavy tags in the container. Check regularly which tags you still need, and keep an eye on Core Web Vitals.

When is Tag Manager worthwhile, and when an agency?

Tag Manager is particularly worthwhile alongside analytics and advertising tools such as Google Analytics, Matomo or Google Ads, as soon as a website uses several tags or marketing teams want to make changes without development effort. For a single tag, adding it directly may be enough.

Benefits Limits
Changes to tags without a new version of the website Without basic knowledge, data quickly becomes unreliable
Preview before publishing and earlier versions to return to One more dependency when the page loads
Consistent control of consent and permissions Good measurement often still needs a data layer from developers

Without basic technical knowledge, misconfigured tags quickly distort data or run without consent. In that case, an agency is worth considering.



 Your next step 

Do you need support with GTM?

Our page Web analytics explains how we work. In an initial consultation, we clarify what makes sense for your website.


Request a consultation
 Frequently asked questions 

Google Tag Manager (GTM): key questions

What is Google Tag Manager?

Google Tag Manager is a tag management system from Google. You add a code snippet to your website once and then manage tracking and marketing tags through a web interface.

What does the abbreviation GTM stand for?

In online marketing, GTM stands for Google Tag Manager.

Is Google Tag Manager free?

Yes, the standard version is free. There is also a paid product for large enterprises, Tag Manager 360. Server-side tagging also incurs server costs.

What is the difference between Google Tag Manager and Google Analytics?

Google Analytics measures and reports. Tag Manager does not report on anything. It adds tags such as the Google Analytics tag to the website and controls when they run.

Does Google Tag Manager need consent?

The Administrative Court of Hanover ruled this to be the case in 2025 (case no. 10 A 5385/22). In our assessment, you should therefore only load it after consent. If in doubt, have its use reviewed by a lawyer.

 Request a consultation 

Questions about this topic?

Tell us briefly what it is about. You will speak directly to Ahmed Badia.
Microsoft Partner Badge
SISTRIX-zertifizierte Agentur
4.9
Based on 32 reviews

Reviews from our Google Business Profile. We check every review against our client projects.

Request a consultation
Ahmed Badia
Ahmed BadiaSenior Software Developer Team LeadCall: +49 228 243 313 54

* Required

Please enter your name.

Please enter a valid email address, e.g. name@company.com.

For a call back.

Please enter your number with area code, e.g. +49 228 243 313 53.

Please tell us briefly what it is about.

Free and without obligation. We usually reply on the same working day.

Information on how we process your data: Privacy policy