Piwik

Piwik is free and powerful Open Source real time web analytics software, available for running it on your own infrastructure. Piwik aims to be an Open Source alternative to Google Analytics.

Because you can run it on your own servers, you don't have to share your (visitor's) data with companies like Google, StatCounter, SiteMeter etc..

Installation

Installing Piwik is really easy. Simply follow the installation notes.

Update

Have a look at the update notes to update Piwik.

Tips and tricks

Cloaking

Piwik provides the file […]/js/index.php. It is able to act as a “proxy” for the common […]/piwik.js and […]/piwik.php to cloak the tracker, preventing bias caused by many browser-based filters. To use it, take the normal tracking source code (“tag”) and replace all occurrences of piwik.js and piwik.php with js/. Example:

Before (without cloaking):

<script type="text/javascript">
[...]
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
[...]
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
[...]
</script><noscript><p><img src="http://example.com/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>

After (with cloaking):

<script type="text/javascript">
[...]
document.write(unescape("%3Cscript src='" + pkBaseURL + "js/' type='text/javascript'%3E%3C/script%3E"));
[...]
var piwikTracker = Piwik.getTracker(pkBaseURL + "js/", 1);
[...]
</script><noscript><p><img src="http://example.com/js/?idsite=1" style="border:0" alt="" /></p></noscript>

Piwik Mobile

Piwik Mobile is an Android application to access the PiWik reports by using your mobile phone (this is more comfortable than using the phone's browser).

Simply install the following via Market:

Print/export
QR Code
QR Code app:piwik:start (generated for current page)
Languages
Translations of this page: