Table of Contents
[DEPRECATED] piwik2 Plugin
Compatible with DokuWiki
binky, 2014-04-28, Detritus, Elenor of Tsort, Frusterick Manners, Greebo
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
Description
!!!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)
Installation
Just install the plugin using the Extension Manager.
Or you can clone it directly from repository:
$> cd dokuwiki/lib/plugins/ $> git clone https://github.com/Bravehartk2/dokuwiki-piwik2.git
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.
Configuration
- Go to Plugin Management and make sure “piwik2” is enabled
- 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 http://developer.piwik.org/api-reference/tracking-javascript)
- Piwik plugin should now be enabled and you should see the trackingcode in the rendered html on wiki pages (f.e. with firebug)
Discussion
Site Search?
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!