From version < 40.2 >
edited by Oana Florea
on 2019/12/02 12:54
To version < 41.1 >
edited by Oana Florea
on 2019/12/02 13:57
< >
Change comment: There is no comment for this version



... ... @@ -1,1 +1,1 @@
1 -No
1 +Yes
cogExtension to setup Matomo Tracking in XWiki
Developed by

Ludovic Dubost

Active Installs33
2 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Developed by

Ludovic Dubost

Active Installs33
2 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager


Extension to setup Matomo (previously named Piwik) Tracking in XWiki. Matomo(Piwik) is the very popular Open Source alternative to Google Analytics (you can take a look at their demo server).

This extension should not be used only for a subwiki.
Install it on the Main Wiki and activate multi-domain tracking if you need tracking on subwikis.

To use Matomo(Piwik) in XWiki, visit the Piwik tab in the Administration and fill the various fields as explained below:


Matomo Configuration

How to check Matomo requests?

  • The Matomo requests done from XWiki can be checked when specific actions don't seem to be recorded (maybe on a specific browser or a specific user)
  • Example on Firefox:

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
1.1XWiki Enterprise 7.1.3
1.2XWiki 10.10
1.2XWiki 10.8.3
1.3XWiki 10.11.2
1.3XWiki 11.1
1.3XWiki 10.11.6
1.3XWiki 11.3, 11.5, 11.3.3, 11.3.4

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes


  • Closed PIWIK-12 Update application name to reflect re-branding to Matomo


  • Closed PIWIK-5 XWiki User ID Should be mapped to Piwik User ID Parameter
  • Closed PIWIK-6 Setting to "User Tracking" option to "Yes" in Piwik administration causes WARN messages in Tomcat server logs for each page view
  • Closed PIWIK-7 Extension does not work if installed only in a subwiki
  • Closed PIWIK-9 After saving the piwik URL and the Site ID the UI still shows "Piwik tracking is not running."


  • Closed PIWIK-4 Translations keys are not rendered when installed from a subwiki


  • Closed PIWIK-1 Piwik Application doesn't work in a multi-wiki environment
  • Closed PIWIK-2 Hide Piwik Application's technical documents
  • Closed PIWIK-3 Update Piwik Application's translation documents


Initial version


Dependencies for this extension (org.xwiki.contrib:application-piwik-extension 1.3.1):

Get Connected