Piwik PRO
Piwik PRO is a web and product analytics platform designed to measure website performance, analyse visitor behaviour and manage analytics data with a strong focus on privacy and data ownership.
Key features include:
- Website and product analytics reporting
- Real-time visitor and behaviour tracking
- Tag management and event tracking
- Conversion and goal tracking
- Privacy and consent management tools
Piwik PRO integrates with ShopWired by adding a tracking to the ShopWired theme so you can collect analytics data about visitor activity on your website.
Account creation
Account creation
Create an account on the Piwik PRO website at Piwik PRO.
After creating your account and creating a website or application container, Piwik PRO will provide a JavaScript tracking code that is used to collect analytics data from your website.
Theme installation
Theme installation
Piwik PRO provides a JavaScript tracking script similar to the example shown below:
<script>
var _paq = window._paq = window._paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://example.piwik.pro/";
_paq.push(['setTrackerUrl', u+'ppms.php']);
_paq.push(['setSiteId', 'SITE_ID']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'ppms.js'; s.parentNode.insertBefore(g,s);
})();
</script>
The script shown above is provided as an example only. You must copy the exact script provided in your own account, as the script and any ID values will be unique to your website.
- Navigate to Website > Themes
- Select the
code editoroption for the theme you want to edit - Open the
master.twigfile - Add the Piwik PRO tracking script just above the closing
</head>tag - Select Save changes
After the script has been added, Piwik PRO will begin collecting data from your website.
Recommendations
Recommendations
- Install the Piwik PRO tracking script on a draft theme before applying it to your live theme
- Confirm that visitor activity appears in the Piwik PRO analytics dashboard after installation
- Keep a record of the container or site ID associated with your ShopWired website
- Use Piwik PRO reports and dashboards to monitor visitor behaviour and traffic sources