Snowplow Tag Setup Guide
This article describes how to set up the Snowplow tag in your Tealium iQ Tag Management account.
Tag Tips
-
Supports the E-Commerce extension
-
Use mapping to:
- Dynamically override the standard configuration values
- Dynamically override the E-Commerce extension values
- Trigger Structured Event tracking
- Trigger Unstructured Event tracking
-
Structured and Unstructured Event tracking is triggered when the Structured/Unstructured Event Action is defined via mapping.
Tag Configuration
First, go to the tag marketplace and add the Snowplow tag (Learn more about how to add a tag).
After adding the tag, configure the following settings:
-
Code Version
- Select a tag version (2.18.2, 3.1.2, or 3.23.0)
-
Title
- Assign a unique name when using multiple tags by the same vendor.
-
Snowplow Object (Required)
- A unique name for your global Snowplow object.
- The Snowplow object name is defined as
window.snowplow.name
.
-
Snowplow Base URL (Required)
- URL representing the Snowplow tracker with version.
- Example format:
//d1fc8wv8zag5ca.cloudfront.net/x.xx.x/sp.js
-
Tracker Namespace (Required)
- The namespace for your Snowplow tracker.
- Use data mapping to dynamically override this value.
-
Tracker End Point (Required)
- The collector end point URI for your Snowplow tracker.
- Use data mapping to dynamically override this value.
-
Cookie Domain
- The top level domain your cookies should be set at.
- Example
.mysite.com
. - Use data mapping to dynamically override this value.
-
Enable Link Tracking
- Add event listeners to your link clicks.
- Possible values are
True
orFalse
. - Use data mapping to dynamically override this value.
-
Enable Activity Tracking
- Enable ‘page ping’ events to track user activity on the page.
- Possible values are
True
orFalse
. - Use data mapping to dynamically override this value.
-
Enable Error Tracking
- Track unhandled exceptions in your JavaScript code.
- Possible values are
True
orFalse
. - Use data mapping to dynamically override this value.
-
Enable Preserve Page View
- Regenerate the webpage context only when the whole HTML page is loaded.
- Possible values are
True
orFalse
. - Use data mapping to dynamically override this value.
-
Publish Locations
- The tag will only be published to the locations selected:
Dev
,QA
,Prod
, orCustom
.
- The tag will only be published to the locations selected:
-
Advanced Settings
- Descriptive notes about this tag and how it is used within your organization.
Load Rules
Load Rules determine when and where to load an instance of this tag on your site.
Recommended Load Rule: All Pages
Data Mappings
Mapping is the process of sending data from a data layer variable to the corresponding destination variable of the vendor tag. For instructions on how to map a variable to a tag destination, see data mappings.
The destination variables for the Snowplow tag are built into its Data Mapping tab. Available categories are:
Standard
Destination Name | Description |
---|---|
customURL |
|
referrerURL |
|
pageTitle |
|
cookieTimeOut |
|
enableAT |
|
minimumVisitLength |
|
heartBeat |
|
enableET |
|
preservePageView |
|
Tracker
Destination Name | Description |
---|---|
trk_namespace |
|
trk_endpoint |
|
trk_cookieDomain |
|
trk_cookieName |
|
trk_appId |
|
trk_platform |
|
trk_send |
|
trk_encodeBase64 |
|
trk_respectDoNotTrack |
|
trk_userFingerprint |
|
trk_userFingerprintSeed |
|
trk_pageUnloadTimer |
|
trk_forceSecure |
|
trk_sendAsPost |
|
trk_bufferSize |
|
trk_maxPostBytes |
|
trk_storageStrategy |
|
trk_cookieLifetime |
|
trk_contextVendor |
|
E-Commerce
Since the Snowplow tag is e-commerce enabled, it automatically uses the default E-Commerce extension mappings. Manually mapping in this category is generally not needed unless you want to override extension mappings or your desired e-commerce variable is not offered in the extension.
Destination Name | Description |
---|---|
order_id |
|
order_total |
|
order_shipping |
|
order_tax |
|
order_store |
|
order_currency |
|
customer_id |
|
customer_city |
|
customer_state |
|
customer_country |
|
product_name |
|
product_sku |
|
product_category |
|
product_quantity |
|
product_unit_price |
|
ecm_schema |
|
ecm_context.data |
|
ecm_contextObj |
|
Link Tracking
Destination Name | Description |
---|---|
enableLCT |
|
ltr_blacklist |
|
ltr_whitelist |
|
ltr_filter |
|
ltr_pseudoClicks |
|
ltr_clickContent |
|
ltr_url |
|
ltr_elementId |
|
ltr_elementClasses |
|
ltr_elementTarget |
|
ltr_elementClickContent |
|
ltr_schema |
|
ltr_context.data |
|
ltr_contextObj |
|
Ad Tracking
Destination Name | Description |
---|---|
adtracking |
|
ad_impressionId |
|
ad_costModel |
|
ad_cost |
|
ad_targetUrl |
|
ad_bannerId |
|
ad_zoneId |
|
ad_advertiserId |
|
ad_campaignId |
|
ad_clickId |
|
ad_conversionId |
|
ad_category |
|
ad_action |
|
ad_property |
|
ad_initialValue |
|
ad_schema |
|
ad_context.data |
|
ad_contextObj |
|
Page View Custom Context
Destination Name | Description |
---|---|
cc_schema |
|
cc_context.data |
|
cc_contextObj |
|
Social Tracking
Destination Name | Description |
---|---|
sot_action |
|
sot_network |
|
sot_target |
|
sot_schema |
|
sot_context.data |
|
sot_contextObj |
|
Form Tracking
Destination Name | Description |
---|---|
enableFormTracking |
|
ftr_formBlacklist |
|
ftr_formWhitelist |
|
ftr_fieldBlacklist |
|
ftr_fieldWhitelist |
|
ftr_filterForm |
|
ftr_filterField |
|
ftr_ctmConfig |
|
Cart Tracking
Destination Name | Description |
---|---|
cartTracking |
|
cart_sku |
|
cart_name |
|
cart_category |
|
cart_price |
|
cart_quantity |
|
cart_currency |
|
cart_schema |
|
cart_context.data |
|
cart_contextObj |
|
Site Search Tracking
Destination Name | Description |
---|---|
sst_terms |
|
sst_filters |
|
sst_totalResults |
|
sst_pageResults |
|
sst_schema |
|
sst_context.data |
|
sst_contextObj |
|
Structured Event
Destination Name | Description |
---|---|
stctCat |
|
stctActn |
|
stctLabel |
|
stctProp |
|
stctVal |
|
stc_schema |
|
stc_context.data |
|
stc_contextObj |
|
Unstructured Event
Destination Name | Description |
---|---|
unstctDataSchema |
|
unstctData.data |
|
unstctDataObj |
|
stc_schema |
|
nstc_context.data |
|
unstc_contextObj |
|
Consent Tracking
Destination Name | Description |
---|---|
consentGranted |
|
consentWithdrawn |
|
allConsentWithdrawn |
|
con_documentId |
|
con_documentVer |
|
con_documentName |
|
con_documentDesc |
|
con_documentExpiry |
|
unstc_schema |
|
nstc_context.data |
|
con_contextObj |
|
Vendor Documentation
This page was last updated: August 6, 2024