Title: Piwik PRO
Author: Piwik PRO
Published: <strong>16, Abril de 2021</strong>
Last modified: 5, Marzu de 2026

---

Guetar plugins

![](https://ps.w.org/piwik-pro/assets/banner-772x250.png?rev=2516197)

![](https://ps.w.org/piwik-pro/assets/icon-256x256.png?rev=2516197)

# Piwik PRO

 By [Piwik PRO](https://profiles.wordpress.org/piwikpro/)

[Download](https://downloads.wordpress.org/plugin/piwik-pro.1.5.1.zip)

[Live Preview](https://ast.wordpress.org/plugins/piwik-pro/?preview=1)

 * [Details](https://ast.wordpress.org/plugins/piwik-pro/#description)
 * [Reviews](https://ast.wordpress.org/plugins/piwik-pro/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/piwik-pro/#installation)
 * [Development](https://ast.wordpress.org/plugins/piwik-pro/#developers)

 [Support](https://wordpress.org/support/plugin/piwik-pro/)

## Description

A simple plugin to add the [Piwik PRO Analytics Suite](https://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.

#### What is Piwik PRO?

Piwik PRO is a privacy-first platform that provides advanced web and app analytics
features while enabling full control over data. It provides flexible reports and
data collection in addition to consent management, tag management and a customer
data platform.

#### Analytics

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.

#### Tag Manager

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.

#### Customer Data Platform (CDP)

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.

#### Consent Manager

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.

## Screenshots

 * [[
 * Settings page

## Installation

#### From your WordPress Dashboard

 1. Go to **Plugins > Add New**.
 2. Search for **Piwik PRO**.
 3. Click **Install now**.
 4. Click **Activate**.

#### From WordPress.org

 1. Download **Piwik PRO** plugin.
 2. Upload the **piwik-pro** directory to your `/wp-content/plugins/` directory using
    ftp, sftp, scp or other method.
 3. In your WordPress admin panel, go to **Plugins**.
 4. Look for the **Piwik PRO** plugin and click **Activate**.

#### Once Activated

 1. Go to **Settings > Piwik PRO**.
 2. Type in the **Container address (URL)**.
 3. Type in your **Site ID**. [Where to find it?](https://help.piwik.pro/support/questions/find-website-id/)
 4. Leave **Basic container (async)** checked. This container holds your tracking code
    and is used to handle most tags.
 5. Optionally rename the **Data layer**.
 6. Click **Save changes**.

#### Multisite

The plugin can be activated and used for just about any use case.

 * Activate at the site level to load the plugin on that site only.
 * Activate at the network level for full integration with all sites in your network.

## FAQ

### Plugin is not working on my site

If you’re using WordPress **Classic Theme** make sure it has the `wp_body_open()`
function right after the opening `<body>` tag, otherwise the container won’t work.

### WooCommerce: Does this plugin automatically track ecommerce?

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](https://help.piwik.pro/support/reports/ecommerce-reports/)
in:

    ```
    Piwik PRO > Menu > Administration > Reports > Show ecommerce reports.
    ```

### When should I rename the data layer?

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:

 1. In the console on your site, run this command: `!window.hasOwnProperty("customDataLayer");`
    replacing `customDataLayer` with your custom name.
 2. If this command returns `true`, then you can safely use your custom name.

### How to support the Content Security Policy mechanism?

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](https://developers.piwik.pro/en/latest/tag_manager/content_security_policy.html).

## Reviews

![](https://secure.gravatar.com/avatar/0ace01b961868727d43b97401f80720b989ac881c071f007e85b18d68b688de3?
s=60&d=retro&r=g)

### 󠀁[E-commerce is not working](https://wordpress.org/support/topic/e-commerce-is-not-working/)󠁿

 [tdlanghe](https://profiles.wordpress.org/tdlanghe/) 18, Mayu de 2025

Visitors are tracked but there is no ecommerce data, even I turned it on in piwik
and woocommerce. Support is not answering.

![](https://secure.gravatar.com/avatar/ba9de57c01981fab5518f767ad7893141577b8aa7ef640295ba2519ceb79dea9?
s=60&d=retro&r=g)

### 󠀁[Does not work](https://wordpress.org/support/topic/does-not-work-1516/)󠁿

 [cleanthinking](https://profiles.wordpress.org/cleanthinking/) 8, Xunetu de 2023

Will delete it after some hours of testing. Not data available.

![](https://secure.gravatar.com/avatar/f308d8bf5940d496c80126b3fd0013f200920aaa40fb987ffbc5dc3e483b6229?
s=60&d=retro&r=g)

### 󠀁[Works fine](https://wordpress.org/support/topic/works-fine-1505/)󠁿

 [arcanov](https://profiles.wordpress.org/arcanov/) 23, Febreru de 2023

ecommerce support is a nice feature

![](https://secure.gravatar.com/avatar/0b58ee8abbf74439269350eb9a66e6abc7b272a7a62cc50f63ea6b2a94449a62?
s=60&d=retro&r=g)

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-1470/)󠁿

 [Nikodem Jankiewicz](https://profiles.wordpress.org/nikodemjankiewicz/) 23, Febreru
de 2023

+ support for ecommerce in new version

![](https://secure.gravatar.com/avatar/23b63f17d6ce131bc6bfaea920a01ed573cb829d826d1c335db9ae2fc529aeb8?
s=60&d=retro&r=g)

### 󠀁[Very complex platform](https://wordpress.org/support/topic/very-complex-platform-yet-user-friendly/)󠁿

 [niravd10](https://profiles.wordpress.org/niravd10/) 8, Payares de 2022

When I come across this GA4 alternative I thought I found what I need. After using
and trying to implement their article and video guides I’m completely out. These
guides are not accurate and therefore not actionable, and When I contact support
via email I got a message to turn back to their unuseful guides. Also, there is 
a limit on actions per month so I don’t see it as a good option for the long run,
especially where their Enterprise prices are high and there are multiple great other
Analytics platforms. I give it 3 stars because of the potential it still has.

![](https://secure.gravatar.com/avatar/d3aa7b30702d2718fac5ed7001796d5c9bc929bc66d481e250db0e0d6681201f?
s=60&d=retro&r=g)

### 󠀁[Underdeveloped functionalities](https://wordpress.org/support/topic/underdeveloped-functionalities/)󠁿

 [gwynbleidd90](https://profiles.wordpress.org/gwynbleidd90/) 13, Xunu de 2022

Plugin works but is not being developed. It displays a banner on home page that 
needs to be hidden by custom css as hide option is missing in the plugin settings.
I have another plugin for displaying cookie information. This plugin has no Complianz
integration. Internal scroll does not work in the info window. There is no option
to customize the window. A redundant thing that only causes additional problems.

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/piwik-pro/reviews/)

## Contributors & Developers

“Piwik PRO” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Piwik PRO ](https://profiles.wordpress.org/piwikpro/)
 *   [ PiotrPress ](https://profiles.wordpress.org/piotrpress/)

“Piwik PRO” has been translated into 4 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/piwik-pro/contributors)
for their contributions.

[Translate “Piwik PRO” into your language.](https://translate.wordpress.org/projects/wp-plugins/piwik-pro)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/piwik-pro/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/piwik-pro/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/piwik-pro/) by [RSS](https://plugins.trac.wordpress.org/log/piwik-pro/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.5.1

**Release date: 05.03.2026**

 * Fix: Fixed container `URL` forward slash in installation code snippet.

#### 1.5.0

**Release date: 04.03.2026**

 * Add: Added support for secure cookies.
 * Fix: Updated installation code snippet.

#### 1.4.1

**Release date: 21.08.2025**

 * Fix: Fixed PHP Warning: `Undefined array key "cookiebot"`.

#### 1.4.0

**Release date: 20.08.2025**

 * Add: Added support for anonymous tracking with Cookiebot.

#### 1.3.9

**Release date: 18.03.2025**

 * Fix: Fixed JS Error: `The method setTrackingSource is registered more than once
   in "_paq" variable.`.

#### 1.3.8

**Release date: 13.02.2025**

 * Fix: Fixed PHP Notice: `Function _load_textdomain_just_in_time was called incorrectly`.
 * Test: Tested up to WordPress 6.7.2

#### 1.3.7

**Release date: 13.11.2024**

 * Info: Removed sync container.
 * Test: Tested up to WordPress 6.7

#### 1.3.6

**Release date: 04.09.2024**

 * Info: Support for sync container will be discontinued from October 7, 2024.
 * Test: Tested up to WordPress 6.6.1

#### 1.3.5

**Release date: 18.06.2024**

 * Add: Added deprecated notice for sync container.

#### 1.3.4

**Release date: 23.05.2024**

 * Fix: Fixed SKU integer value issue by converting it to a string.

#### 1.3.3

**Release date: 27.03.2024**

 * Fix: Fixed performance issue caused by inefficient class autoloader implementation.

#### 1.3.2

**Release date: 25.10.2023**

 * Fix: Fixed wrong product categories array escaping.
 * Fix: Removed `<noscript>` tag from the `async` snippet.

#### 1.3.1

**Release date: 18.10.2023**

 * Fix: Fixed PHP Deprecated: `Creation of dynamic property slug is deprecated`.

#### 1.3.0

**Release date: 26.09.2023**

 * Add: Added a turn on/off switch to plugin’s settings of `WooCommerce` events.
 * Add: Added support for variants in the `name` and `SKU` fields.
 * Add: Added support for Piwik PRO’s enhanced ecommerce tracking for the `WooCommerce`
   plugin.
 * Fix: Removed deprecated Piwik PRO’s ecommerce tracking events for the `WooCommerce`
   plugin.
 * Fix: Prevented tracking of the same order more than once.
 * Fix: Fixed PHP Error: `Call to a member function get_cart_contents() on null`.

#### 1.2.1

**Release date: 06.02.2023**

 * Fix: Fixed settings page.

#### 1.2.0

**Release date: 06.02.2023**

 * Add: Added support for `setTrackingSource()` Piwik PRO’s event.
 * Add: Added support for `trackEcommerceCartUpdate()` and `trackEcommerceOrder()`
   Piwik PRO’s events for `WooCommerce` plugin.
 * Fix: Removed `piwik_pro` option in every site in multisite installation during
   uninstallation.

#### 1.1.1

**Release date: 06.10.2022**

 * Test: Tested up to WordPress 6.0

#### 1.1.0

**Release date: 05.08.2021**

 * Fix: Removed fallback to display async snippet in footer if `wp_body_open()` 
   function is don’t implemented in the theme.
 * Add: Added `piwik_pro_nonce` filter to enable passing `nonce` variable to scripts.
 * Add: Added `nonce` variable to `dataLayer` to enable in sync scripts usage.
 * Fix: Changed snippets rendering from files to inline scripts.
 * Fix: Updated screenshot file.

#### 1.0.2

**Release date: 28.04.2021**

 * Fix: Removed `delete_option()` from `deactivation()`.

#### 1.0.1

**Release date: 19.04.2021**

 * Fix: Site ID validation.

#### 1.0.0

**Release date: 16.04.2021**

 * First stable version of the plugin.

## Meta

 *  Version **1.5.1**
 *  Last updated **1 mes ago**
 *  Active installations **3.000+**
 *  WordPress version ** 5.7 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/piwik-pro/), [English (US)](https://wordpress.org/plugins/piwik-pro/),
   [Persian](https://fa.wordpress.org/plugins/piwik-pro/), [Polish](https://pl.wordpress.org/plugins/piwik-pro/)
   y [Ukrainian](https://uk.wordpress.org/plugins/piwik-pro/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/piwik-pro)
 * Tags
 * [analytics](https://ast.wordpress.org/plugins/tags/analytics/)[piwik](https://ast.wordpress.org/plugins/tags/piwik/)
   [Piwik PRO](https://ast.wordpress.org/plugins/tags/piwik-pro/)[website stats](https://ast.wordpress.org/plugins/tags/website-stats/)
   [woocommerce](https://ast.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://ast.wordpress.org/plugins/piwik-pro/advanced/)

## Ratings

 3.3 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/piwik-pro/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/piwik-pro/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/piwik-pro/reviews/?filter=3)
 *  [  2 2-star reviews     ](https://wordpress.org/support/plugin/piwik-pro/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/piwik-pro/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/piwik-pro/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/piwik-pro/reviews/)

## Contributors

 *   [ Piwik PRO ](https://profiles.wordpress.org/piwikpro/)
 *   [ PiotrPress ](https://profiles.wordpress.org/piotrpress/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/piwik-pro/)