User Tools

Site Tools


projects:dokuwiki_piwik

Dokuwiki plugin for Piwik Tag Manager

Dokuwiki plugin to add a Piwik tag to each wiki page. For more info about Piwik/Matomo, please go to https://matomo.org/.

You can think of Piwik as a “include” manager for your statistics and other tags, e.g. Piwik Analytics, Google Analytics, Olark etc.

The main advantage of using this is that you can enable and disable tags with the management console from Piwik and preview the tags in your page without breaking them. Also you can enable and disable some tags based on different rules, e.g. leave out a certain tag for a certain subdir or for admin pages.

Note that the plugin adds the tag to all pages and does not have an option to exclude the tag based on path rules, so you have to do that in the tag definitions, e.g. to exclude a tag from the admin pages.

The dokuwiki plugin page is at piwiktagmanger plugin

The code is based on my googletagmanger plugin which in turn is based on google analytics plugin from TJ Grant.

projects/dokuwiki_piwik.txt · Last modified: by alex