It's better when it's simple

User Tools

Site Tools


[DEPRECATED] piwik2 Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes

plugin Plugin for the new 2.0 version of Piwik, the open source Google Analytics alternative

Last updated on
Conflicts with
matomo, piwik

Similar to googleanalytics

Tagged with analytics, piwik, statistics, tracking


:!::!::!: !!!DEPRECATED!!! Use matomo instead. !!!DEPRECATED!!! :!::!::!: asl Plugin for the new 2.0 1) version of Piwik, the open source Google Analytics alternative (inspired by the Piwik Plugin from Heikki Hokkanen hoxu [at] users [dot] sf [dot] net)


Just install the plugin using the Extension ​Manager.

Or you can clone it directly from repository:

$> cd dokuwiki/lib/plugins/
$> git clone

:!: External requirements: This plugin requires the following additional components that must be installed separately:

  • MySQL Database for Piwik
  • PHP with mysql support
  • an existing piwik installation that the trackingscript can send data to

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


  1. Go to Plugin Management and make sure “piwik2” is enabled
  2. Configure the plugin in Admin → Configuration Manager → Plugin Settings → Piwik2 (Values partly have to be taken from an existing piwik installation → From Settings → Tracking Code, more information
  3. Piwik plugin should now be enabled and you should see the trackingcode in the rendered html on wiki pages (f.e. with firebug)


Does this plugin support Site Search? Piwik seems to allow only single parameters for the search key word, while Dokuwiki uses ?do=search&id=… So this could be done with that trackSiteSearch() function on the search result page, as described on that link above. Thanks!

Works also fine with Piwik 3.0
plugin/piwik2.txt · Last modified: 2020-09-26 11:30 by Aleksandr