GoogleTagManager settings form

This Google Tag Manager project allows non-technical stakeholders to manage the analytics for their website by triggering the insertion of tags and tracking systems onto their page(s) via Google's Tag Manager (GTM) hosted application.

To use the module, sign up for GTM and obtain a "container ID" for your website. Enter the "container ID" on the settings form for this module. You may also configure the conditions on which the tags are inserted on a page response. Conditions exist for: page paths, user roles, and response statuses.

For development purposes, create a GTM environment for your website and enter the "environment ID" on the settings form for this module.

Additional features for Drupal 7
The module implements the Variable API, so that settings may be separately configured by realm, thus enabling support for multiple languages and domains.

Related projects for Drupal 7
Other projects that rely on or can be used with this project include:

Drupal 6 release
If interested in GTM with Drupal 6, see the port offered at #2830356: Drupal 6 port. This port is based on the 1.0 release, is generously provided by the person who posted it, has not been reviewed by the maintainer of this module, and is not a supported release. Use at your own discretion.

Project information