DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:piwik

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:piwik [2012-07-21 00:58] – layout, completion Klap-inplugin:piwik [2018-05-04 09:13] (current) Klap-in
Line 13: Line 13:
 tags       : statistics tags       : statistics
  
- +downloadurl: https://gitlab.com/dokuwiki-piwik/dokuwiki-piwik/-/archive/master/dokuwiki-piwik-master.zip 
-downloadurl:    https://gitorious.org/dokuwiki-piwik/dokuwiki-piwik/archive-tarball/master +sourcerepo : https://gitlab.com/dokuwiki-piwik/dokuwiki-piwik/ 
-bugtracker :    +bugtrackerhttps://gitlab.com/dokuwiki-piwik/dokuwiki-piwik/issues
-sourcerepo :    https://gitorious.org/dokuwiki-piwik/dokuwiki-piwik/trees/master +
-donationurl:+
 ---- ----
  
 //[[http://piwik.org/|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.// //[[http://piwik.org/|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 [[https://gitorious.org/dokuwiki-piwik/pages/Home]] for installation instructions. 
  
 ==== Installation ==== ==== Installation ====
  
-  $ cd dokuwiki/lib/plugins/ +Install the plugin via the extension manager using the Download Link above.
-  $ git clone https://git.gitorious.org/dokuwiki-piwik/dokuwiki-piwik.git piwik +
- +
-Alternatively, you can also download a tarball via gitorious (first time clicking is generating the package): \\ +
-[[https://gitorious.org/dokuwiki-piwik/dokuwiki-piwik/archive-tarball/master]] +
  
 ==== Configuration ==== ==== Configuration ====
Line 37: Line 29:
   - Piwik plugin should now be enabled.   - Piwik plugin should now be enabled.
  
-===== 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.  
- 
-==== Comment from author 2012-01-28 ==== 
- 
-It is not longer necessary to do manual work to modify templates. Piwik plugin now uses TPL_METAHEADER_OUTPUT hook to insert the piwik tracker code. The new version is also backwards compatible. 
  
 ==== System requirements ==== ==== System requirements ====
Line 51: Line 36:
   - Piwik installed to a existing web site (can be also subfolder).    - 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: +
-<code php> +
-<?php +
-if (file_exists(DOKU_PLUGIN.'piwik/code.php')) { +
-  include_once(DOKU_PLUGIN.'piwik/code.php'); +
-  piwik_code(); +
-+
-?> +
-</code> +
-----+
plugin/piwik.1342825133.txt.gz · Last modified: 2012-07-21 00:58 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki