Piwik Application

Version 38.4 by Oana Florea on 2019/11/11 00:12

cogExtension to setup Piwik Tracking in XWiki
TypeXAR
Category
Developed by

Ludovic Dubost

Active Installs30
Rating
2 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

Should work with most versions of XWiki since at least version 3.0

Installable with the Extension Manager

Description

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 on https://demo.matomo.org/index.php?module=CoreHome&action=index&idSite=62&period=day&date=yesterday#?idSite=62&period=day&date=yesterday&category=Dashboard_Dashboard&subcategory=1).

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:

piwik.png

Matomo Configuration

To get the "SITE ID" for the tracked website from Matomo you need to go to Administration>Websites>Manage

Example

What information this extension asks to be tracked from the wiki?

  • pageview tracking
  • link tracking
  • if the user tracking is activated the current xwiki user page name ($xcontext.user)
  • if the multidomain tracking is activated, the document title and the document domain

Troubleshooting

Why are some users not tracked in Matomo?

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:

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

v1.3

v1.2

v1.1

v1.0

Initial version

Dependencies

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

Tags:
    

Get Connected