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.

{ 12 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

Laat een comment achter

Vorige artikel:

Volgende artikel:

  • Waarmee kan ik u helpen?

    Uw bericht: