Please download the plugin (now at version 1.0.2) 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.
Please note you will have to have access to a working Piwik installation for this to work.
It is based quite heavily on the Google Analytics wordpress plugin by Joost de Valk.
The following options are supported:
- hostname and path to Piwik options
- site ID
- option to control download tracking
- option to exclude the admin user (probably you)
Your feedback is important. Please test it for me, report bugs, and leave feedback in the comments so I can improve this software.
I will update this post whenever there is any news.


{ 21 comments… lees ze hieronder of voeg er een toe }
Installed plugin in wordpress 2.9.2, I’ve added only a little call to and it worked perfectly.
Can you use the Changelog tab ? (in the plugin presentation)
Yep, good idea.
Just wanted to say thanks for the plugin! It’s great, works fine.
Latest version of WP an Plugin version 1.1…no problems here.
Thanks for your work!
Version 1.0.2 is out. No functional changes.
* small helptext change
* added a changelog
will geo ip plugin work with this?
It’ll work with any Piwik plugin that use the standard Piwik.js tracking code.
I have installed this on a xampp server using local host. Piwik works fine as the plugin for zen photo works, however, I am not getting any stats for the wordpress blog. Any suggestions?
great plugin, thanks.
Adrian
I have a request-or rather a feature I’d love to see. Is there a way that a site id in Piwik could be tied to Author id. In this case, in a multi-blog situation, the author would see the stats only for his or her posts–assuming the posts were tagged. I would also like to share info in a page on the blog a logged in author could access when logged in.
Regarding your first question:
If you can map each WP author ID to a piwik site ID, you can use something like this in your theme’s functions.php.
See http://pastebin.com/0S3qMtbH
Idea:
- map the WP author ID to piwik site ID using an array
- Use the correct site id in the javascript
NB: don’t activate the piwik analytics plugin if you use this!
Installation is not easy, with no guide. I mean plugin configuration.
Next release, I’ll improve the docs, and perhaps includie a video tutorial.
Any chance of a version that works with WordPress 3.0.1?
Just found some time to check my test blog, and I see the tag on the page, and traffic coming in on my piwik installation.
WordPress version: 3.0.1
Piwik version: 0.9
I’m using Wordpress v3.0.1 and it doesn’t work. I’ve configured it since it’s very simple but nothing happened
I had to place the script myself directly into the theme to make it work.
I hope you can update the plug-in ‘cos it seems to be very useful.
Regards,
Mauricio
Mh.. sorry it didn’t work for you. Thanks for leaving a comment, though!
Right now, I’m pretty busy doing paid work. After those projects are done, I will update my plugin.
Hey – thanks for the plugin; in my case it does not work, because the piwik is installed on an external server and I have to talk to the server with “https” and your plug in allows only “http”
That’s correct, it always uses the same protocol as the page itself.
Another one for my todo list.
Hi — the noscript part of the piwik snippet is missing, e.g.:
{ 4 trackbacks }