Using Piwik for website traffic analysis with Koha

As Ed from ByWater Solutions has mentioned you can use Google analytics for website traffic analysis, but if you want to use a Free Software project instead to do your analysis, you can use Piwik.

I won’t go into all the reasons why I think you should use Piwik over Google Analytics, that would be a whole blog post in itself. But if you care about privacy, freedoms, and allowing your users to opt out of being tracked, Piwik is the thing for you.

So there are a few options, the best is probably to download and install Piwik on a server you own/control and then set up a website to track (your koha). However if you are unable to do that. I have set up http://piwik.koha-community.org/ on my server that runs the bugs.koha-community.org and dashboard.koha-community. So you could drop me an email and I will set add you as a user and add your website to it.

For both methods you then need to follow the following instructions

  1. In Piwik find the tracking code 
  2. Copy and Paste the code into the opaccredits in systempreferences (make sure you get the script tags too)
  3. That’s it

It really is that simple. Now I can’t promise my dinky little server can handle every Koha site using it for analytics, but if it does prove popular we could move it to a bigger machine, however running your own is really the best way.

 

4 thoughts on “Using Piwik for website traffic analysis with Koha”

  1. Hi Chris,

    thx for this entry (I plan to do one in french on biblibre.com, because I’m not pro-GA, and BibLibre has an offer on piwik ;-) )

    But more : we made some customization to the javascript, that let you see opac-search related informations. Like searches with no results, searched terms, searched indexes, …

    When we find some time, we will setup a git repo & publish our work.

  2. Cool Paul.
    There is also an android app for using piwik, free software of course and available in freedroid

  3. Hi Chris,

    Great information, I will have to test it out. Looks like a great alternative the using Google.

    Ed

  4. I confirm Piwik is a great tool. We have completely replaced Google Analytics by Piwik on piwigo.org because I don’t like the fact that our visitors are tracked by Google and they are not even aware of it.

    In addition, I know the founder of Piwik and he’s a really nice and smart guy.

Comments are closed.