Piwik PRO Tag Setup Guide
This article describes how to set up the Piwik PRO tag in your Tealium iQ Tag Management account.
Tag tips
- The Track E-commerce Order Event fires when an Order ID is present.
- Use mapping to:
- Dynamically override the standard configuration values
- Setup event triggers
- Set Custom Dimensions
- Override the E-Commerce extension values
- Supports these E-Commerce extension parameters:
- Order ID (
_corder
) - Order Total (
_ctotal
) - Sub Total (
_csubtotal
) - Shipping Amount (
_cship
) - Tax Amount (
_ctax
) - Cart or Order Type (
_ctype
) - Customer ID (
_ccustid
) - List of Product IDs (
_cprod
) - List of Names (
_cprodname
) - List of Categories (
_ccat
) - List of Quantities (
_cquan
) - List of Prices (
_cprice
) - List of Discounts (
_cpdisc
)
- Order ID (
Tag configuration
First, go to Tealium’s tag marketplace and add the Piwik PRO tag (Learn more about how to add a tag).
After adding the tag, configure the following settings:
-
App ID
- PPAS application identifier (previously website ID, site ID or idSite).
-
Base URL
- PPAS instance URL without trailing slash.
- Include
//
at the beginning. - Example:
//example.com
-
Enable Download & Outlink tracking
-
Tracking all content impressions within a page
To track content, it has to have the data-track-content attribute orpiwikTrackContent
CSS class attached to it. -
Track All Visible Content Impressions
To track content, it has to have the data-track-content attribute orpiwikTrackContent
CSS class attached to it. -
Check Impressions On Scroll
- Check new visible content impressions on the scroll event.
- It will not detect content blocks placed in a scrollable element.
-
Visible Content Watch Interval
- Interval, in milliseconds, between checking for new visible content.
- Periodic checks can be disabled for performance reasons by setting
0
.
-
Heartbeat Timer
- Time, in seconds, between cyclical heartbeat requests.
-
Track User Anonymously
- Track visitor anonymously (without consent).
-
Enable Heart Beat Timer
-
Send Page View
- Page View events are automatically recorded your site. If you don’t want the snippet to send a Page View event, set the this option to
false
.
- Page View events are automatically recorded your site. If you don’t want the snippet to send a Page View event, set the this option to
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 available categories are:
Standard
Variable | Description |
---|---|
appId |
|
base_url |
|
tracking_url |
|
category |
|
action |
|
name |
|
value |
|
goal_name |
|
goal_value |
|
title |
|
beat |
|
keyword |
|
searchCount |
|
isAnonymous |
|
CustomUrl |
|
ReferrerUrl |
|
cookieDomain |
|
cookiePath |
|
updateTimingDataOnPageLoadSampling |
|
enableHeartBeatTimer |
|
sendPageView |
|
Content Tracking
Variable | Description |
---|---|
trackAllContentImpressions |
|
checkOnScroll |
|
watchInterval |
|
impressionDomNode |
|
domNode |
|
contentInteraction |
|
contentName |
|
contentPiece |
|
contentTarget |
|
Download and Outlink Tracking
Variable | Description |
---|---|
link_tracking |
|
domains |
|
outLinkClassName |
|
linkAddress |
|
addDownloadExtensions |
|
setDownloadExtensions |
|
setDownloadClassName |
|
time |
|
setIgnoreClasses |
|
Events
Variable | Description |
---|---|
trackEvent |
|
trackGoal |
|
addEcommerceItem |
|
trackEcommerceOrder |
|
trackEcommerceCartUpdate |
|
setEcommerceView |
|
trackAllContentImpressions |
|
trackVisibleContentImpressions |
|
trackContentImpressionsWithinNode |
|
trackContentInteractionNode |
|
trackContentImpression |
|
trackContentInteraction |
|
trackLink |
|
setUserId |
|
resetUserId |
|
setDocumentTitle |
|
trackSiteSearch |
|
setUserIsAnonymous |
|
deanonymizeUser |
|
E-Commerce
Variable | Description |
---|---|
order_id |
|
order_total |
|
order_subtotal |
|
order_shipping |
|
order_tax |
|
customer_id |
|
product_id |
|
product_name |
|
product_category |
|
product_quantity |
|
product_unit_price |
|
product_discount |
|
This page was last updated: April 13, 2020