Create a dashboard for Piwik PRO data

Created on 27 March 2025, about 2 months ago

Problem/Motivation

Work in progress

We are working with Piwik PRO to create a dashboard in Drupal to display analytics data from the current site. This project is still a proof of concept and testing the actual integration to the Piwik PRO API at https://developers.piwik.pro/reference. Some of the work is still done internally so the recommendation is not to work on this issue yet too much but feel free to take a look at the code as we make progress and provide suggestions. We will keep this issue updated and change the status to Needs review when we make actual progress. After we are closer to final code we are very welcome for suggestions and improvement ideas.

Please do not yet commit anything to this issue fork unless agreed before hand.

The big goal here is to make Piwik PRO analytics more visible to the editors. It's a common situation where a very limited number of people have access to Piwik PRO analytics but at the same time the site owner would like to allow more people to access analytics.

Proposed resolution

We are making a submodule to the Drupal module that allows you to display a dashboard in Drupal that some key data from Piwik PRO. This dashboard will be a small React app that will get the data from Piwik PRO through a Drupal route and then display the data. The goal here is to make a small dashboard that can also be used outside of Drupal for Piwik PRO.

Remaining tasks

1. Create the submodule to handle the dashboard Drupal side.
2. Create the React app that displays the dashboard in Drupal.
2. Integrate to Key module to store the API keys in Drupal.

User interface changes

The module configuration will include some new settings for the dashboard and also a new route to actually display the dashboard. These are not yet defined.

API changes

There will be an integration to the Piwik PRO API at https://developers.piwik.pro/reference.

Data model changes

TBD.

Feature request
Status

Needs work

Version

1.3

Component

Code

Created by

🇫🇮Finland heikkiy Oulu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @heikkiy
  • First commit to issue fork.
  • First commit to issue fork.
Production build 0.71.5 2024