Adds the Piwik PRO container (with tracking code) to your WordPress site.
A simple plugin to add the Piwik PRO container (with tracking code) to your WordPress site, making it easy to collect visitor data from any WordPress site and automatically track ecommerce in your WooCommerce store. You’ll also be able to manage consents and run tags after using this plugin.
Piwik PRO is a privacy-first platform that offers the advanced analytics features while allowing for full control of data. It provides flexible reports and data collection in addition to consent management, tag management and a customer data platform.
Collect data across websites, apps, digital products and post-login areas. Customize how data is collected and analyze it with built-in audience, behavior, acquisition and conversion reports. Dive deeper with custom reports and access to raw data.
Add flexible tags to your analytics stack without hiring an IT team to do it. Quickly create, test and deploy tags from templates or with custom code. Coordinate tag behavior with Analytics, Customer Data Platform and Consent Manager to fit any data collection approach.
Build customer profiles, segment audiences and create insightful single customer views. Quickly populate the profiles using data collected with the help of Analytics and Tag Manager. Set up Consent Manager so data is only collected data when there is specific consent for it.
Manage consents and data subject requests in the same platform where data is collected and processed. Categorize data from Analytics and Tag Manager so that the data collected always agrees with the consent received.
/wp-content/plugins/
directory using ftp, sftp, scp or other method.The plugin can be activated and used for just about any use case.
Make sure your WordPress theme has the wp_body_open()
function right after the opening <body>
tag, otherwise the container won’t work.
Yes, this plugin automatically tracks events like ecommerce orders and abandoned carts, which result in full ecommerce reporting in Piwik PRO. To see the collected data, just turn on ecommerce reports in:
Piwik PRO > Menu > Administration > Reports > Show ecommerce reports.
Rename the data layer if you use other software with data layers. If the names are the same, the software can interfere with each other.
To check if your data layer name is not used by other software on your site, follow these steps:
!window.hasOwnProperty("customDataLayer");
replacing customDataLayer
with your custom name.true
, then you can safely use your custom name.Content Security Policy restricts third-party tools from loading codes on the website and allows to fetch only approved origins of content. To support Content Security Policy mechanism, you need to add a nonce
value as an attribute to containers and scripts that these containers load.
To add a nonce
value add to a function.php
file in yours theme the following code:
add_filter( 'piwik_pro_nonce', function() { return wp_create_nonce( time() ); } );
For more information, read our article about Content Security Policy.
Release date: 18.06.2024
Release date: 23.05.2024
Release date: 27.03.2024
Release date: 25.10.2023
<noscript>
tag from the async
snippet.Release date: 18.10.2023
Creation of dynamic property slug is deprecated
.Release date: 26.09.2023
WooCommerce
events.name
and SKU
fields.WooCommerce
plugin.WooCommerce
plugin.Call to a member function get_cart_contents() on null
.Release date: 06.02.2023
Release date: 06.02.2023
getTrackingSource()
Piwik PRO’s event.trackEcommerceCartUpdate()
and trackEcommerceOrder()
Piwik PRO’s events for WooCommerce
plugin.piwik_pro
option in every site in multisite installation during uninstallation.Release date: 06.10.2022
Release date: 05.08.2021
wp_body_open()
function is don’t implemented in the theme.piwik_pro_nonce
filter to enable passing nonce
variable to scripts.nonce
variable to dataLayer
to enable in sync scripts usage.Release date: 28.04.2021
delete_option()
from deactivation()
.Release date: 19.04.2021
Release date: 16.04.2021