Piwik Analytics wordpress plugin
Download the latest version from the wordpress.org plugin directory
This is a basic wordpress plugin for the excellent Piwik web Analytics tool. It adds the piwik javascript code into every page of your weblog, so you don’t have to code PHP to add it to your templates.
It is based quite heavily on the Google Analytics wordpress plugin by Joost de Valk.
The following options are supported:
- piwk.php and piwik.js location
- site ID
- options to control download tracking
- option to exclude the admin user (probably you)
Please note this is BETA software. Please test it for me, report bugs, and leave feedback in the comments so I improve this software.
I will post a comment whenever I update the version. A FAQ will also be made, as soon as the first questions come in ![]()


May 27th, 2008 at 22:40
Updated to version 0.2.
More config options (download tracking, extensions)
Moved javascript code to footer
May 28th, 2008 at 00:09
[...] got a tweet from @zjuul today, because he was modifying (and has since released a beta version) my Google Analytics plugin to work with Google Analytics plugin to work with [...]
June 1st, 2008 at 15:33
[...] Piwik Wordpress Plugin Tags: Web Analytics [...]
June 11th, 2008 at 21:34
[...] Jules, a dutch Piwik user, has built a plugin to easily integrate Piwik in your Wordpress templates. [...]
June 11th, 2008 at 23:45
It seems to be working on my site.
Thanks very much
Mark
June 12th, 2008 at 00:17
oops
Your above download link, links to V0.1
Mark
June 12th, 2008 at 00:23
[...] Update June 11,2008 - A Woordpress plugin has been created by Jules Stuifbergen that blocks the admin. from being counted. Download it here. [...]
June 12th, 2008 at 06:29
I am trying out piwik on my music project site and impressed by far. Hope this plug in can make me use piwik further. Thanks.
June 12th, 2008 at 07:14
@Mark #6 Thanks for the heads up!
And thanks for all compliments and links
June 23rd, 2008 at 21:17
Version 0.3 is out! It features a minor cosmetic change to the admin interface.
Also, you can get it now from the wordpress.org plugin directory!
See http://wordpress.org/extend/plugins/piwik-analytics/
June 29th, 2008 at 10:36
[...] Note: There are plenty of excellent sites out there that provide detailed installation tutorials. The focus here is on Piwik as a tool for analyzing website traffic and its implications on the Web Analytics industry. The installation in Wordpress, however, was a breeze, and is now in fact even easier if you use the recently release Wordpress plugin. [...]
July 4th, 2008 at 03:56
Hi, for people that suck like me, the piwik plugin does’t work… So, where do I put the Piwik code manually in Wordpress?
July 4th, 2008 at 08:25
@elephant_man
It depends on your theme. For my site http://loes.tv/ that uses the ‘techdesignscouk” theme, I altered the file *wp-content/themes/techdesignscouk/footer.php*.
Right before the end-body element, I placed the code:
< ?php wp_footer(); ?>
Hope this helps!
July 17th, 2008 at 00:15
Hi, I’m seen this errors in the Piwik Analytics section in the admin panel:
Warning: unserialize() expects parameter 1 to be string, array given in /home/guillote/public_html/dementemarginal.com.ar/wp-content/plugins/piwik-analytics/piwikanalytics.php on line 284
And
Warning: unserialize() expects parameter 1 to be string, array given in /home/guillote/public_html/dementemarginal.com.ar/wp-content/plugins/piwik-analytics/piwikanalytics.php on line 65I’m using wordpress 2.6.
Any ideas?
Thanks!
July 18th, 2008 at 11:42
@Agustin
This probably is a bug. I will look at it and make a 2.6 release later this week. I first have to upgrade my own blog
July 22nd, 2008 at 21:13
I just checked in version 0.4. This version is Wordpress 2.6 compatible.
Known issue: you probably have to re-set the plugin options. I am sorry for the inconvenience.
Please let me know if there are any troubles or other issues. Thanks!
July 22nd, 2008 at 23:06
Piwik Analytics…
This is a basic wordpress plugin for the excellent Piwik web Analytics tool. It adds the piwik javascript link and code into every page of your weblog, so you don’t have to code PHP to add it to your templates. It is based quite heavily on the Google…
July 23rd, 2008 at 03:45
I already use a standalone installation of Piwik to track several sites. Not all the widgets work, but the most important ones I need do.
Btw, I appreciate the work you do enough to have the link to the Piwik site in my Blogroll
July 23rd, 2008 at 06:31
I have few questions:
1. As I activated the plugin, with piwik installed on server, how long it takes for stats to come up … in 5 mins I had 0 traffic shown with plugin activated and set correctly.
2. If I for the test purpose want to see if plugin works, and want to insert the code manually, having a wordpress blog, is inserting the code in footer.php is enough, or I need to insert it on all pages?
3. In footer, should I insert it just above the:
or - the last two codes on footer.php
Tnx for the plugin and your assistance.
July 23rd, 2008 at 23:27
@E@zyVG
I cannot answer your first question for sure. You might want to ask the developers at http://piwik.org/
As for your 2nd and 3rd question: inserting the code in the footer.php code should work for most themes. Just check the page source. If it’s in there, it works.
The best place is to put the code just above the end-body tag.
July 25th, 2008 at 11:30
[...] Piwik Analytics [...]
July 31st, 2008 at 15:19
Es muß nicht immer Google sein…
Ein Kollege von mir hat heute ein relativ neues Web-Analyse Tool gefunden. Piwik heisst das Ding und ist als Open Source veröffentlich.
Im Gegensatz zum sehr weit verbreiteten Google Analytics bietet Piwik eine Auswertung der Daten in Echtzeit und…
September 3rd, 2008 at 23:36
[...] Piwik Analytics - Based on the Google Analytics plugin, the Piwik Analytics add-on will let you add the Piwik code to your site and define what it tracks. [...]
September 4th, 2008 at 15:09
[...] Piwik Analytics - This is a basic wordpress plugin for the excellent Piwik web Analytics tool. It adds the piwik javascript code into every page of your weblog, so you don’t have to code PHP to add it to your templates. [...]