For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/sources/google-tag-manager.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt, and the index for this section is at https://docs.snowplow.io/docs/cdi/llms.txt.
Snowplow Google Tag Manager templates
Feature support Compare trackers
- Supported: Page or screen views (Page)
- Supported: Activity tracking
- Supported: Built-in entities
- Supported: Anonymous tracking
- Not supported: Media
- Supported: Ecommerce
- Supported: Consent
- Supported: Snowtype
Using the Snowplow GTM custom templates you can deploy, implement, and configure the Snowplow JavaScript tracker directly on the website using Google Tag Manager.
The main Tag template that you will need to use when setting up the JavaScript Tracker v4 in GTM is available in the Tag Manager Template Gallery. To setup the Snowplow v4 Tag, you will also need the Snowplow v4 Settings Variable template. The templates you will need are:
- Snowplow v4: Load, configure, and deploy the Snowplow JavaScript tracker library. It supports the full functionality of the JavaScript SDK.
- Snowplow v4 Settings: A variable template which can be used to easily apply a set of tracker configuration parameters to tags created with the Snowplow v4 tag template.
For Ecommerce tracking, the Snowplow Ecommerce Tag is available on GitHub.