Table of Contents
Matomo Plugin
Compatible with DokuWiki
binky, 2014-04-28, Detritus, Elenor of Tsort, Frusterick Manners, Greebo
Plugin for the new 3.x version of Matomo (formerly Piwik), the open source Google Analytics alternative. It's the followup version of https://www.dokuwiki.org/plugin:piwik2.
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
Description
Plugin for the new 3.x version of Matomo (formaly Piwik), the open source Google Analytics alternative. It's the followup version of https://www.dokuwiki.org/plugin:piwik2. (inspired by the piwik plugin from Heikki Hokkanen hoxu [at] users [dot] sf [dot] net, https://www.dokuwiki.org/plugin:piwik)
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Or you can clone it directly from repository:
$> cd dokuwiki/lib/plugins/ $> git clone https://github.com/Bravehartk2/dokuwiki-matomo
External requirements
This plugin requires the following additional components that must be installed separately:
- MySQL Database for Matomo
- PHP with mysql support (now PHP7 ready)
- an existing matomo installation that the Matomo trackingscript can send data to
Install the plugin using the Plugin Manager (https://www.dokuwiki.org/plugin:plugin) and the download URL above, which points to latest version of the plugin. Refer to https://www.dokuwiki.org/plugin on how to install plugins manually.
Configuration
- Go to Plugin Management and make sure “matomo” is enabled
- Configure the plugin in *Admin → Configuration Manager –> Plugin Settings –> Matomo* (Values partly have to be taken from an existing matomo installation → From *Settings → Tracking Code*, more information https://developer.matomo.org/api-reference/tracking-javascript)
- Matomo plugin should now be enabled and you should see the trackingcode in the rendered html on wiki pages (f.e. with firebug)