Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
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.