This is an old revision of the document!
Table of Contents
piwik plugin
Compatible with DokuWiki
2009-12-25b
The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to googleanalytics, hubspot
Piwik plugin for DokuWiki. Piwik is an open source web analytics software that aims to be a replacement for Google Analytics. This plugin allows you to track visitors statistics of your DokuWiki installation using Piwik. Optionally admin/users can be excluded from the statistics.
See http://wiki.fealdia.org/projects/dokuwiki/piwik for download and more up-to-date information.
Discussion
In my opinion I got my DokuWiki/Piwik system working easier without this plugin. This is because you need to edit the appearance template's main.php anyway, you can use the code (or snippet) provided by your Piwik-service.
System requirements
- MySql Server installed and root login enabled in MySQL Server.
- PHP set up for MySql -connection1).
- Empty Database for Piwik created (you need this when installing Piwik).
- Piwik installed to a existing web site (can be also subfolder).
— Ciove 2008/07/14
actual code is friendlier than image
Don't know why but the code to insert is shown on the plugin page as an image which is not easy to copy/paste, so here it is:
<?php if (file_exists(DOKU_PLUGIN.'piwik/code.php')) { include_once(DOKU_PLUGIN.'piwik/code.php'); piwik_code(); } ?>
No function with Angua release
Since my update to Release 2012-01-25 “Angua” the insertion of the code into the main.php of the (any) template does not show up in the HTML source. Therefore no data in the Piwik database. I have to use this plugin because I have a symlink farm. –PP