Google Tag Manager

Key features of the Drupal Google Tag module and related integrations include:

Core Module Features

  • Centralized Tag Management: Enables the addition and management of all marketing and analytics tags (such as Google Analytics, Google Ads, and Facebook Pixel) from a single Google Tag Manager (GTM) interface, reducing the need for developer involvement.
  • Multiple Container Support: Supports the configuration of multiple GTM containers and environment IDs within a single Drupal site.
  • Conditional Tag Loading: Provides configuration options to include or exclude GTM snippets based on specific conditions, such as:
    • Request path (specific pages)
    • User role (e.g., excluding administrators from tracking)
    • Response status
    • Domain and language (may require additional modules)
  • Compliance & Privacy: Facilitates integration with consent management platforms and supports features such as IP address masking to help meet data privacy regulations (e.g., GDPR).
  • Version Control & Debugging: Leverages GTM’s built-in features, including preview/debug mode for testing changes before publishing and the ability to roll back to previous versions if issues arise.
  • Performance Improvement: Improves website performance by loading tags asynchronously through a single container snippet, rather than hardcoding multiple individual scripts.

Location

You can find the tag manager under "Configuration" -> "Web Services" -> "Google Tag"