Google Software Platform

Google Tag Manager-Benutzerhandbuch

Mide y Vencerás (Measure and Conquer)

Authors: Iñaki Gorostiza, Asier Barainca

Foreword: Simo Ahava

Cover of the Google Tag Manager book showing the title, authors, and a graphic of files in a drawer.

This image displays the cover of the "Google Tag Manager: Mide y Vencerás" book. It features the Google logo, the title "Google Tag Manager", the subtitle "Mide y Vencerás", and the authors' names Iñaki Gorostiza and Asier Barainca. Below the text, there's a graphic of digital windows and files emerging from an orange drawer, symbolizing data and organization. The bottom right corner shows a "Social Business" logo.

1. Introduction to Google Tag Manager

Google Tag Manager (GTM) is a tag management system (TMS) that allows you to quickly and easily update tracking codes and related code fragments, known as tags, on your website or mobile app. By using GTM, you can deploy and manage various marketing and analytics tags without modifying the website's code directly.

This manual provides a comprehensive guide to understanding, setting up, operating, and maintaining your Google Tag Manager implementation, ensuring efficient data collection and analysis for your digital properties.

2. Einrichtung und Erstkonfiguration

To begin using Google Tag Manager, you need to create an account and container, then integrate the GTM snippet into your webWebsite.

2.1. Creating a GTM Account and Container

  1. Navigate to the official Google Tag Manager webWebsite.
  2. Melden Sie sich mit Ihrem Google-Konto an.
  3. Click "Create Account" and provide an Account Name (e.g., your company name).
  4. Create a Container by providing a Container Name (e.g., your webWebsite URL) and selecting the target platform (Web, iOS, Android, AMP, Server).
  5. Accept the Terms of Service.

2.2. Installing the Container Snippet

After creating your container, GTM will provide two code snippets. These must be placed on every page of your website where you intend to use GTM.

  • The first snippet should be placed as high in the of the page as possible.
  • The second snippet should be placed immediately after the opening tag.

Ensure these snippets are correctly implemented across all relevant pages to enable GTM functionality.

3. Operating Google Tag Manager

Once GTM is installed, you can start adding and managing tags, triggers, and variables.

3.1. Understanding Tags, Triggers, and Variables

  • Tags: Pieces of code (e.g., Google Analytics tracking code, Facebook Pixel) that send data to third-party systems.
  • Auslöser: Conditions that determine when a tag should fire (e.g., page view, button click, form submission).
  • Variablen: Placeholders for values that change (e.g., product price, user ID, URL). They are used in tags and triggers.

3.2. Adding and Configuring Tags

  1. In the GTM interface, navigate to "Tags" and click "New".
  2. Wählen Sie ein Tag Type (e.g., Google Analytics: GA4 Configuration, Universal Analytics).
  3. Konfigurieren Sie die tag with necessary details (e.g., Measurement ID, Tracking ID).
  4. Add a Trigger to specify when the tag should fire.
  5. Speichern Sie die tag.

3.3. Vorherview and Debug Mode

Before publishing changes, always use the Preview mode to test your tags. Click the "Preview" button in the GTM interface, enter your webWebsite URL, and a new window will open with the GTM Debugger enabled. This allows you to see which tags are firing and why.

3.4. Publishing Changes

Once you are confident that your tags are working correctly in Preview mode, you can publish your changes. Click the "Submit" button in the GTM interface, provide a Version Name and Description, and then click "Publish". This will make your changes live on your webWebsite.

3.5. Version Control

GTM automatically saves versions of your container every time you publish. You can review past versions, revert to a previous version, or export a version for backup purposes. This is crucial for maintaining a stable and reliable tag Managementsystem.

4. Wartung

Regular maintenance of your GTM container ensures optimal performance and data accuracy.

  • Regelmäßige Review: In regelmäßigen Abständenview all active tags, triggers, and variables to ensure they are still relevant and firing as expected. Remove any obsolete or redundant items.
  • Leistungsoptimierung: Minimize the number of tags and ensure they are optimized for performance. Avoid complex custom HTML tags where possible, and use built-in tag Vorlagen.
  • Data Layer Consistency: Stellen Sie sicher, dass Ihre website's data layer implementation remains consistent with your GTM configuration. Any changes to the data layer structure on the website must be reflected in GTM.
  • Benutzerberechtigungen: Regelmäßig review user access and permissions within your GTM account to maintain security.

5. Fehlerbehebung

Encountering issues with GTM is common. Here are some steps to diagnose and resolve problems.

5.1. Häufige Probleme und Lösungen

  • Tag Not Firing:
    • Check if the GTM container snippet is correctly installed on the page.
    • Verify the trigger conditions in GTM Preview mode. Are they met?
    • Stellen Sie sicher, dass tag is enabled and not paused.
    • Check for conflicting tags or JavaScript errors on the page.
  • Incorrect Data Sent:
    • Inspect variable values in GTM Preview mode. Are they picking up the correct data?
    • Verify the data layer implementation on your webWebsite.
    • Überprüfen Sie die tag configuration for any typos or incorrect variable references.
  • GTM Preview Mode Not Working:
    • Ensure third-party cookies are enabled in your browser.
    • Clear browser cache and cookies.
    • Check for browser extensions that might block GTM.

5.2. Using Debug Tools

Beyond GTM's built-in Preview mode, browser developer tools (e.g., Chrome DevTools) are invaluable. Use the "Network" tab to see if tags are making requests and the "Console" tab for JavaScript errors. Extensions like "Tag Assistant by Google" can also help diagnose issues.

6. Spezifikationen

Google Tag Manager is a cloud-based service. Its specifications primarily relate to compatibility and supported features.

  • Plattformkompatibilität: Web (JavaScript), iOS, Android, AMP, Server-side taging.
  • Browser-Unterstützung: Compatible with all modern web browsers (Chrome, Firefox, Edge, Safari, etc.).
  • Unterstützt Tag Typen: Extensive library of built-in tag templates for Google products (Google Analytics, Google Ads, Optimize, etc.) and third-party vendors. Supports custom HTML tags for non-listed integrations.
  • Data Layer: Utilizes a JavaScript object (dataLayer) for passing data from the website to GTM.
  • API Access: Provides an API for programmatic management of accounts, containers, and assets.

7. Garantie und Support

As a free service, Google Tag Manager does not come with a traditional warranty. However, Google provides extensive support resources.

Google continuously updates and improves GTM, so regularly check official channels for the latest features and best practices.

Zugehörige Dokumente - Softwareplattform

Vorview Comprehensive Guide: Set Up GA4 Tags Using Google Tag Manager
Learn how to set up Google Analytics 4 (GA4) tags using Google Tag Manager (GTM) with this comprehensive guide. Covers configuration tags, event tags, and common ecommerce events for detailed website and user behavior tracking.
Vorview A Comprehensive Guide to Building Successful Google AdWords CampZeichen
Master Google AdWords with this step-by-step guide. Learn to organize campaigns, select keywords, write effective ads, and track performance for maximum ROI in online advertising.
Vorview Google Smart TagEinrichtungs-, Funktions- und Verbindungsleitfaden
Erfahren Sie, wie Sie Ihr Google Smart einrichten und verwenden. Tag with this comprehensive guide. Covers app download, connection steps, device features like 'Find My Device' network, privacy, and FCC compliance.
Vorview Kabellos Tag Benutzerhandbuch: Einrichtung, Funktionen und Sicherheit
Benutzerhandbuch für das drahtlose Gerät Tag, ein intelligentes Ortungsgerät, das mit Googles „Wo ist?“-Netzwerk kompatibel ist. Bietet Anleitungen zur Einrichtung, Verwendung, Produktspezifikationen und wichtige Sicherheitshinweise für die Ortung persönlicher Gegenstände.
Vorview Google Smart Tag LocaTag13 - Bluetooth-Tracker – Benutzerhandbuch
Ausführliche Bedienungsanleitung für Google Smart Tag (LocaTag13) werden Einrichtung, Verbindung, Batteriewechsel, Verwendung der Funktionstasten und Funktionen wie „Mein Gerät suchen“ sowie Netzwerk- und Datenschutzeinstellungen detailliert beschrieben. Erfahren Sie, wie Sie Ihre Gegenstände effizient orten können.
Vorview Google Find My Device World Tag Setup and Pairing Guide
Learn how to easily set up and pair your Google Find My Device World Tag. This guide covers prerequisites, device operations, pairing steps, and using the Find My Device app for tracking.