Piwik Analytics WordPress Plugin

door Jules

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 }

Flandal maart 13, 2010 om 17:57

Installed plugin in wordpress 2.9.2, I’ve added only a little call to and it worked perfectly.

Beantwoorden

Dd maart 28, 2010 om 00:42

Can you use the Changelog tab ? (in the plugin presentation)

Beantwoorden

Jules maart 28, 2010 om 09:40

Yep, good idea.

Beantwoorden

Matt Katz maart 30, 2010 om 20:07

Just wanted to say thanks for the plugin! It’s great, works fine.

Beantwoorden

Amboss april 2, 2010 om 01:20

Latest version of WP an Plugin version 1.1…no problems here.
Thanks for your work!

Beantwoorden

Jules april 3, 2010 om 10:43

Version 1.0.2 is out. No functional changes.

* small helptext change
* added a changelog

Beantwoorden

william april 20, 2010 om 20:21

will geo ip plugin work with this?

Beantwoorden

Jules april 20, 2010 om 20:30

It’ll work with any Piwik plugin that use the standard Piwik.js tracking code.

Beantwoorden

David mei 12, 2010 om 04:13

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?

Beantwoorden

Adrian mei 22, 2010 om 13:01

great plugin, thanks.

Adrian

Beantwoorden

Another Adrian mei 25, 2010 om 18:16

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.

Beantwoorden

Jules mei 28, 2010 om 13:59

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!

Beantwoorden

Aaqil Mahmood juli 31, 2010 om 05:30

Installation is not easy, with no guide. I mean plugin configuration.

Beantwoorden

Jules augustus 25, 2010 om 21:13

Next release, I’ll improve the docs, and perhaps includie a video tutorial.

Beantwoorden

Sir Blundrig augustus 10, 2010 om 04:52

Any chance of a version that works with WordPress 3.0.1?

Beantwoorden

Jules augustus 25, 2010 om 21:11

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

Beantwoorden

Machote [uy] augustus 23, 2010 om 15:28

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

Beantwoorden

Jules augustus 25, 2010 om 19:07

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.

Beantwoorden

Ingo september 1, 2010 om 13:27

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” :(

Beantwoorden

Jules september 1, 2010 om 13:32

That’s correct, it always uses the same protocol as the page itself.

Another one for my todo list.

Beantwoorden

Magnus september 3, 2010 om 10:16

Hi — the noscript part of the piwik snippet is missing, e.g.:

Beantwoorden

Laat een comment achter

{ 4 trackbacks }

Vorige artikel:

Volgende artikel:

  • Waarmee kan ik u helpen?

    Uw bericht: