Drupal is a registered trademark of Dries Buytaert

A simple module to add the Piwik PRO container (with tracking code) to your Drupal site, making it easy to collect visitor data from any Drupal site.

What is Piwik PRO?

Piwik PRO is a privacy-first platform that offers 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.

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.

Installation

  • Install the Piwik PRO module as you would normally install a
    contributed Drupal module.

Configuration

  1. Navigate to Administration > Extend and enable the module.
  2. Navigate to Administration > Configuration > Webservices > Piwik PRO
    to configure the Piwik PRO account.

Page specific tracking

The default is set to "Add to every page except the listed pages". By
default the following pages are listed for exclusion:

/admin
/admin/*
/batch
/node/add*
/node/*/*
/user/*/*

These defaults are changeable by the website administrator or any other
user with 'Administer Piwik PRO' permission.

Analytics Dashboard (introduced in version 1.4.0)

Piwik PRO Dashboard is a submodule for the Piwik PRO module.
It enables site administrators to view key analytics data directly within the Drupal admin interface. The dashboard can be accessed from the Reports admin menu.
Currently, the dashboard includes:

  • Overview metrics: Visitors, Page Views, Returning Visitor Rate, Bounce Rate, Visitors Over Time, Page Views Over Time
  • Top Pages
  • Device Breakdown

The displayed data can be toggled between the last 7 or 30 days.

The configuration for the Dashboard module can be found at /admin/config/services/piwik-pro/dashboard.
The dashboard can be accessed from /admin/reports/piwik-dashboard.

There are also new permissions that should be configured:

  • "Administer Piwik PRO Dashboard": Allows setting the required API information.
  • "Access Piwik PRO Dashboard": Allows viewing the dashboard and using the necessary API routes.

IMPORTANT:
To enable the dashboard, the site administrator must create an API key to obtain a Client ID and Client Secret. Remember to configure the base Piwik PRO module too.
For more information about authentication with Piwik PRO, see the official documentation:
https://developers.piwik.pro/reference/authentication

Dependencies

  • Path alias
  • Key module (required in Piwik PRO 1.4 and later)

Activity

Total releases
10
First release
Dec 2024
Latest release
4 weeks ago
Release cadence
46 days
Stability
80% stable

Release Timeline

Releases

Version Type Release date
1.4.3 Stable Jan 29, 2026
1.4.2 Stable Sep 16, 2025
1.4.1 Stable Sep 4, 2025
1.4.0 Stable Jun 6, 2025
1.4.x-dev Dev Jun 4, 2025
1.3.2 Stable May 13, 2025
1.2.2 Stable Mar 7, 2025
1.3.1 Stable Mar 7, 2025
1.2.1 Stable Jan 16, 2025
1.2.x-dev Dev Dec 11, 2024