Piwik PRO tag
After adding a new website or app to Piwik PRO, you will see the Piwik PRO tag in Tag Manager. This tag is responsible for collecting data from your website or app and you can’t delete it. You can adjust the tag to track specific data, but be careful with any changes you make because they may affect the whole tracking.
To make changes in the Piwik PRO tag, follow these steps:
- Go to Menu > Tag Manager.
- Navigate to Tags.
- From the left-hand list, choose the Piwik PRO tag.
- In Piwik PRO Analytics setup, adjust elements that you need.
Here’s a list of elements that can be adjusted in Piwik PRO Analytics setup:
- Enable link tracking: It’s turned on by default. It tracks downloads and outlinks in Analytics.
- Enable content tracking: It’s turned off by default. When you turn it on, Piwik PRO will track pop-ups set in a custom pop-up tag, contextual ads set in a custom content tag, and all other elements defined as content.
- Enable cross domain tracking: It’s turned off by default. It lets you to track a visitor across domains and subdomains.
- Accurately measure the time spent on each page: This option lets you measure the exact time spent by the visitor on each page. By default, the time spent on a page is counted as the difference between the moment a visitor started viewing one page and the moment when a visitor started viewing another page. Because of how the mechanism works, Piwik PRO will not count the time spent on the last page. With this option, you can turn on a heartbeat which will be sending a ping every 15 seconds (or other selected number) to tell Piwik PRO that the visitor is still on that page. This way it will count the time spent on that page. Just keep in mind that setting the ping number below 15 seconds may slow down the website.
- Set userID: This option lets you add your own identifier for a visitor. For more, read how to set up a userID.
- Set cookie domain: It’s turned off by default. It’s used to define across which domains the user should be tracked in cross-domain tracking.
- Disable cookies: It’s turned off by default. You can use it to disable cookies. We are not recommending to turn it on as it may influence tracking. For more, read how to disable cookies for vistiors.
- Set secure cookie: Sets a secure-cookie flag on all first-party cookies. Use it only for websites with an HTTPS protocol so that all tracking cookies are sent over a secure connection. Please don’t use it for sites with other protocols.
- Set visitor cookie timeout: Sets the timeout for a
_pk_id.*cookie. It is used to store a few details about the visitor, such as a unique visitor ID.
- Set referral cookie timeout: No longer supported.
- Set session cookie timeout: Sets timeout for a
_pk_ses.*cookie. It’s a short-lived cookie used to store session data.
- Don’t track page views: Lets you to disable the
_paq.trackPageViewtracking method used in the Piwik PRO tracking code. Instead, you can track page views using a custom tag.
Tip: Read about custom variables in Analytics.
Tip: Read how to create a custom dimension.