Tag Manager

Tag Manager

A tag manager simplifies the management of tracking codes - flexible, centralized, and without source code changes. Here’s how it works!

What is a Tag Manager?

A Tag Manager (also known as a Tag Management System, or TMS for short) is a tool that allows you to centrally manage and integrate the various code snippets on a website, known as tags, without having to edit the website's source code each time. These tags are small code components, usually written in JavaScript, that perform a specific task, such as collecting visitor data, triggering a tracking pixel, or embedding a chat window.

Simply put, a Tag Manager is a central control hub for all tracking and marketing codes on a website. Instead of adding code to the page individually for each tool, everything is managed through a single interface.

What Problem Does a Tag Manager Solve?

Without a Tag Manager, a separate code must be added directly to the website's source code for each new tool, such as an analytics tool or conversion tracking. This has several disadvantages: It often requires the help of a developer, the code becomes cluttered over time, and every change is cumbersome. A Tag Manager solves exactly that. You integrate it into the website once, and afterward, all additional tags can be conveniently added, modified, or removed via its interface without touching the page's source code again.

How Does a Tag Manager Work?

The principle is based on a central container and a few basic components:

  • Container: The base code that is integrated into the website once. It serves as the shell in which all other tags are managed.
  • Tags: The individual code snippets that trigger an action, such as analytics code, conversion tracking, or a remarketing tag.
  • Triggers: Conditions that determine when a tag is executed, such as when a page loads, a button is clicked, or a form is submitted.
  • Variables: Reusable values used in tags and triggers, such as the current page URL.

The interaction, in simple terms, is as follows: A trigger decides when a tag is fired, and variables provide the necessary information for this.

The Best-Known Example: Google Tag Manager

By far the most widely used Tag Manager is Google Tag Manager (GTM), which is free to use and integrates well with other Google services such as Google Analytics and Google Ads. There are also other solutions, such as the Matomo Tag Manager or systems from providers like Tealium and Adobe. The basic principle is similar across all of them.

What Are the Benefits of a Tag Manager?

  • Independence: Marketing managers can manage tags themselves without needing a developer for every change.
  • Central Overview: All tags in one place, instead of scattered throughout the source code.
  • Speed and Flexibility: Changes can be implemented quickly, and versions can be saved and restored if needed.
  • Clean Code and Performance: The page's source code remains tidy, and tags can be loaded in a way that minimizes impact on loading time.
  • Templates: Pre-built templates are available for many common tools, making setup easier.

Server-Side Tagging

A more modern approach is server-side tagging. Here, the tags do not run in the user's browser but on a dedicated server. This offers several advantages: better control over data, reduced impact on loading time, and greater resilience against browser restrictions and ad blockers. Given the phasing out of third-party cookies, this approach is gaining increasing importance.

Important: A Tag Manager Does Not Automatically Ensure Compliance with Data Protection Regulations

A clear warning is crucial for your target audience here. A Tag Manager is initially just a tool. It does not automatically ensure that tracking complies with data protection regulations. On the contrary: A poorly configured Tag Manager can even cause tracking tags to be triggered before the user has given consent, which constitutes a violation of the GDPR. Therefore, the following is essential:

  • Observe Consent: Tags that require consent may only be triggered after consent has been given.
  • Integration with Consent Management: The Tag Manager should be connected to the consent solution (Consent Management Platform) so that it controls tracking based on the user's consent.
  • Careful Configuration: Which tags are triggered and when must be set up consciously and in compliance with data protection regulations.

This note serves as an overview and does not replace legal advice. If in doubt, the specific implementation should be reviewed by an expert.

Conclusion

A Tag Manager is a central control hub through which all tracking and marketing codes on a website can be managed without having to edit the source code each time. Through the interaction of containers, tags, triggers, and variables, code snippets are triggered in a targeted and flexible manner. The best-known tool is the free Google Tag Manager. The advantages lie in independence from developers, a central overview, and the quick implementation of changes, while server-side tagging is emerging as a modern, more privacy-friendly alternative. However, it is crucial to be aware that a Tag Manager alone does not ensure compliance with data protection regulations. Only careful setup with valid consent management ensures that tracking is legally compliant and user-friendly.

Back to glossary