Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 11.39 KB
MD5: 7cb4c9c68ab7d2dd242c35cf41acceef
SHA-1: 12e05be54d81331348a9170ef1e87e8717135435
SHA-256: c6606d2d41430e15d1f333351edaa0003d5e86e87f3543f9eb7a2d60a4372de4
Download zip 17.21 KB
MD5: 3605ae3081ab0dadab792f8dc0f75015
SHA-1: d4535f09c01d9ffd2afd63e41713496ff40b68cd
SHA-256: 605b2f1c8b5b9ebc8b4b036b6070fa400d64092b1a9ee336c3bfdb5063bc1347

Release notes

Initial alpha release of GTM Snippet Loader.

This release provides configurable injection of trusted Google Tag Manager or tag manager loader snippets into Drupal pages.

Features included:

- Add a trusted snippet to the document head.

- Add optional body-open markup for noscript or fallback tag manager markup.

- Exclude Drupal administration routes.

- Exclude specific paths using configurable path patterns.

- Manage snippet settings through Drupal configuration.

- Support configuration export and deployment workflows.

- Provide optional theme-level placement support.

Security note:

This module allows trusted administrators to inject JavaScript and HTML into site pages. Only grant the configuration permission to fully trusted users.

Compatibility:

- Drupal 10

- Drupal 11

This is an alpha release intended for early testing and feedback.

Created by: bwl7sju
Created on: 19 May 2026 at 16:05 UTC
Last updated: 19 May 2026 at 16:05 UTC

Other releases