Templates for Google Tag Manager to make working with Snowplow Analytics easier. Add Snowplow to a page, track structured or self-describing events and work with self-describing JSON schema's all without having to touch any code.
Matt Mathias (LinkedIn)
Date | Notes |
---|---|
25 September 2019 | Initial Release (v0.9.0) |
Designed to work a lot like the Google Analytics tag provided out of the box by Google Tag Manager.
- Initialize the tracker script.
- Track a Page View.
- Track a Structured Event
- Track a Self-describing Events
- Supports Global Contexts
- Supports Event Contexts
- Requires a Snowplow Settings variable
NOTE: You will have edit the permisions of this template to allow it to access the global variable(s) for your tracker name(s) if they are not already on in the permissions list that is hard coded. The required keys are {tracker-name}, {tracker-name}.q, {tracker-name}.q.push
Works in a manner consistent with the Google Analytics Settings variables provided by Google Tag Manager out of the box. Allows for setting most of the Snowplow Analytics configuration settings in an easy to use interface. Required by the Snowplow Analytics tag.
Create self-describing JSON schemas for use as additional contexts, or self-describing events with Snowplow Analytics. Allows you to define to vendor, schema name, version, and properties of the schema without having to touch any JavaScript.
This variable is a function that will check return an array of the Snowplow Contexts you specify as long as those contexts are defined, can also be de-duplicated with another list if desired.