This project is not covered by Drupal’s security advisory policy.
This module allows Google Tag Manager dataLayer objects to be displayed using Drupal's Metatag module. It follows the same architectural pattern as the Schema Metatag module, but outputs to the GTM dataLayer instead of JSON-LD structured data.
Dependencies
Features
How it works is add to a page (content type, taxonomy term, or similar) you want to use it with. The module by itself doesn't add any custom objects for use with a datalayer.
This module is meant to help those who use Metatag and Google Tag to set up custom variables for GTM's datalayer.
Post-Installation
Create a custom module that has a plugin to define your custom variables. If you use Schema Metatag module; then you have a good idea how to make this work.
Similar projects
Supporting this Module
We are looking into further help to improve and maintain this module. Please contact one of the maintainers.
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.- Project categories: Search engine optimization (SEO)
- Ecosystem: Metatag, Google Tag
- Created by blaquehat on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

