Analytics with Piwik on

Brian brings up a great point here.  Seems a significant number of BC post-secondary websites are fine using Google Analytics despite it being contrary to guidelines and standards for “All provincial ministries and organizations that have a direct reporting structure to a Minister”.

There are a number of good reasons why you may not want to track visitors to your website/service.  If you do plan on tracking visitors to your website, you should carefully consider your reasons, and the impacts:

“The data is interesting.” “The data is valuable.” “The data is actionable.” “The data is monetizable” – bought and sold. So we’re told…

Are these sufficient reasons to track your website visitors?

Interesting to whom? Valuable to whom? Actionable by whom? How? Who’s buying it?

Do you use the data that’s being collected? Or are you just a proxy, collecting and handing it off to others?

 ~ Audrey Watters

If you are going to collect such data, and don’t want it handed off to third-party providers, you have 2 self-hosted options in



I have Piwik up and running on here at  It took me 5 minutes to install, configure, and start collecting some data.

1. Install Piwik at


2. Navigate to the [All Websites] link in the top right-hand corner of your Dashboard.  Select [Add a New Website] as pictured below.

3. You will be directed to the [Settings] page.  Select [Add a new website] and fill out some basic information about your site, including the domain name for you site.

Once you have filled things out, click [View Tracking Code].



4. On this page, you will be offered some Javascript.  Copy it.

5. If you are a WordPress user, install the Tracking Code plugin.  There are other plugins that also do the same thing.

6. Take the Javascript you copied from Piwik and paste it in your WordPress plugin settings.


7. Visit your site a few times and check your Piwik grain at



What are the advantages of using open source software like Piwki for your site analytics needs?



Hummingbird is also available at and lets you see how visitors are interacting with your website in real time.  A very different app from Piwik as it only provides a real-time view, but potentially useful for conferences, events, displays, & other such special use cases.

Setup is very easy:

  1. Fire up a Hummingbird grain
  2. Copy the [Tracker] code.  Paste it in the footer of your website or your Wordpress footer plugin.
  3. Watch your live visitor traffic.hummingbird-gif


Join the Conversation


  1. Finally got around to trying to connect the Sandstorm Piwik instance to my blog (hosted outside of Sandstorm and at my own hosting site). Unfortunately, the recommended Piwiki WordPress plugin didn’t seem to work. I suspect one too many token keys between the token key needed by Sandstorm to get into Sandstrom, and the Piwiki’s API key needed by the plugin to access Piwiks in Sandstorm. For some reason, the recommended Piwik WordPress plugin only allows you to connect to Piwiks via the api and not by cutting and pasting the tracking code. I’m going to give the plugin you suggested a try.

  2. Thanks — got piwik working with no sweat!

    The WP-piwik plugin suggested by the piwik installation does not work, byt Tracking code plugin does the trick.

Leave a comment

Your email address will not be published. Required fields are marked *