A Closer Look at Using Piwik With WordPress: The Open Source Alternative to Google Analytics

Google Analytics seems to be the default web analytics solution for WordPress users. Have you ever considered that there might be other options available? We’d like to introduce you to Piwik, an open source alternative, equally robust as Google Analytics and infinitely more private.

We’ve actually been using Piwik with Edublogs for some time as a large scale custom multisite implementation. Piwik provides stats for users on Edublogs.org as well as all 200+ of our Campus sites. We host a separate Piwik install on a VPS and utilize a custom plugin very similar to WP-Piwik that tracks and displays stats for supporter sites in Edublogs. This gives each blog it’s own distinct stats. Our users really appreciate having stats at their fingertips without having to sign up for a third party service or configure any settings.

Interview with Matthieu Aubry, Founder and Lead Developer of Piwik:

Recently I had the opportunity to interview Matthieu Aubry, the founder of Piwik, who now works with a large team to make open source analytics possible for hundreds of thousands of users. Here’s what he had to say about the project:

What inspired you to create Piwik?
We created Piwik in 2007, because there was not at the time modern open source web analytics software, and there was a big need for it. With the rise of Google Analytics, many users were looking at using a quality web analytics software yet reluctant to give away their sensitive web analytics data to the search giant. Most other analytics tools at the time were very costly. Piwik was created to fill in this huge gap and allow webmaters/business owners to keep control of their data on their own servers while enjoying pretty reports and advanced analytics functionnality.

What are the main advantages of using open source software for analytics?

  • Your web data will not be used or looked at by other entities.
  • If you are a developer, you can take advantage of the plugin architecture and create custom functionality.
  • The software being open source, it is easy to give feedback to the team and even contribute changes.
  • Be part of an active community of more than 100k active users.

What key features distinguish Piwik from Google Analytics?

How does Piwik perform in heavy load environments?

Piwik works well in high load environments. It scales really well with thousands of websites and we have a few users tracking more than 20,000 sites in Piwik. A few Piwik power users are tracking up to 250,000 pages per day with success (on a dedicated server). The main requirement is database size, which can grow to few dozens or hundreds of megabytes if your websites has more than hundreds of page views per day.

What kinds of things can advanced users do with the Piwik API?

Piwik API has 3 main uses:

1- Tracking data in Piwik: there is an advanced Javascript Tracking API but also a REST API to track any visit, pages, downloads, goal conversions, etc. It is very powerful and lets you track visits from any devices or app.

2- Fetching any reports out of Piwik: the Analytics API lets you download any report generated by Piwik (best keywords, visits per hour) and for each report (for example, for each Referrer keyword) will include many metrics such as: visits, pages, conversions, revenue generated, conversion rate, time on site, etc. You can also specify custom segments via the API, to show the reports only for “visits from Germany AND coming from Search Engine” for example. Check out the Analytics API reference for the documentation.

3- Administrate Piwik: the API also allows you to manage your websites, users, permissions, etc. For example, you can create websites and users automatically from another application (eg. wordpress) very easily. You can also create Goals automatically, setup scheduled Email reports, etc. If you start using Piwik on an existing application, you can use the API to import all your existings websites and users.

The WP-Piwik plugin has been downloaded over 33,000 times. With thousands of WordPress users making use of Piwik, would you say that ensuring compatibility with Open Source CMS’s is a top priority for your team?

Ensuring compatibility & ease of use with all CMS is a top priority for us. We have already more than 30 plugins that make it easy to integrate with CMS, frameworks and programming languages. In fact, we are working to communicate better with them in the future, and also improve the Piwik websites to better advertise the fantastic work they are doing!

What developments and features can Piwik users look forward to in the future?
The roadmap for Piwik 2.0 is our vision for the next major release of Piwik. we are currently working on many exciting things, thanks to the support of our sponsors and Piwik professional services:

– Precise geo location will be integrated in Piwik core (currently there is a plugin for GeoIP) and we are going to add few features in it
– the World Map will show Regions & Cities stats for all countries. This is a unique development since Piwik team member works on building the only Open Source map with such advanced
– Visits & actions displayed in real time view (ie. automatically refreshed) in the Mobile App so you can track your Live visits on the go!
– Advanced Ecommerce tracking & Reporting: lets you track products, orders and cart abandonment. This will be the first time that such powerful Ecommerce features are available in an open source solution
– Performance improvements for high traffic websites, in particular, allow easy clustering of the Tracking servers and remove dependancy to the database for tracking (requests will be queued and then loaded in the DB at regular interval)
– and more…

Conclusion:
In a day and age where privacy is rapidly losing value, any option that allows you to own your own data simply makes sense. If you’re wanting to get out from under the watchful eye of Google and jump on board with a solid open source solution, then Piwik should be at the top of your list for consideration.

Comments (24)

  1. Sarah – thanks for this.

    There is a nagging thunk that I think many of we purchasers of WPMU would love to see from your edublogs experience; As you have SO MANY tools – and as many of us are looking for fast paths to delivery by augmenting our internal development teams with your tools, and you make mention of Edublogs often as a live sample of your tools – it would ideal to have a full display of what plugins you have active there – how you have had to set them up, and what conflict issues you’ve encountered and solved. Essentially, reveal your edublogs experience completely. As an ongoing paying member, I’d be happy to see this behind your member wall, but I would like to see it.

    PIWIK looks great – as do many of your suggestions. I think though – these reveals would hold more potency if they were also coupled with your disclosure of setup for edublogs. We’re here… share. :)

  2. Piwik is a fantastic analytics tool!
    Developing the automatic integration and UI between wpmu and Piwik on our own would be maybe a bit difficult.

    as jxn points out, it would be great to access the plugin used to integrate smoothly Piwik with WPMU and provide great analytics to each blog on the platform.

    Will keep a look on the blog :)

    • 5 minute instal MY ASS! I spent all night last night tying to install Piwik. The guy’s at host gator couldn’t even figure this shit out and they work on websites for a living. I WANT IT because I love the interface but 5 minutes is COMPLETE BULLSHIT!!!

  3. I’ve been using the piwik plugin for a multisite install for over 1 year & it is working great! I’m sure that edublogs adapted it and improved it, but out of the box it works.

  4. We started using piwik 10 days ago.

    over all if your website has more than 200K daily visitors it doesnt really work. (we have around 500k and it always stops around 200k)
    We have 2 gig vps server.

    If you have hundreds or even thousands of visits then i recommend it if you dont want to use google analytics for what ever reason otherwise dont waste your time.

    Its free and the guys working behind it seem to be great guys so I dont want to hate on them.
    Thanks

  5. @Monti, I have to think that edublogs is banging through more than 100K per day. @Sarah what adjustments did you have to make to accomodate the ceiling that @Monti hit?

  6. I used Piwik for a while, but being a small business, my web analytics data really doesn’t need to be a secret from Google. I did like Piwik for the time I used it, but had to switch to the search giant for the slightly better UI.

  7. Hi Sarah, thank you for posting. Do you know if it is possible to track WPEC transactions using the “Ecommerce and Goals” tab such as Abandoned Carts, Visits with Abandoned Cart, etc in Piwik?

  8. hmm this is not related to analytics or tracking but just keenly interested to know about how to earn if you design something very creative and useful by making it open source ?
    I am against of keeping it partly open and partly as pro service then how to earn
    just keep waiting for donations ?

Participate