Liberating Web Analytics. Star us on Github? +1. Piwik is the leading open alternative to Google Analytics that gives you full control over your data. Piwik lets you easily collect data from websites, apps & the IoT and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!
PHP JavaScript HTML CSS C Shell
Latest commit 8179b78 Mar 28, 2017 @mattab mattab committed on GitHub System tests: enable images generation in scheduled reports (#11278)
* System tests: enable images generation in scheduled reports

* prevent error if report does not support multiple periods

* updates expected test files
Failed to load latest commit information.
config Tweak comment Mar 24, 2017
core Drop temporary table when no longer needed (#11544) Mar 28, 2017
js Remove outdated comment Feb 21, 2017
lang language update (#11504) Mar 20, 2017
libs Implements fnmatch for those PHP without this function (#11369) Feb 21, 2017
misc Should fix rounding tests on Mysqli driver (#11339) Feb 13, 2017
plugins System tests: enable images generation in scheduled reports (#11278) Mar 28, 2017
tests System tests: enable images generation in scheduled reports (#11278) Mar 28, 2017
tmp #7612 Restore the tmp folder Apr 2, 2015
.bowerrc refs #6469 some initial work for using bower Oct 20, 2014
.coveralls.yml Restored useless file because here be dragons Dec 3, 2014
.gitattributes added some files/folders to be excluded from git packages (#9434) Sep 21, 2016
.gitignore Link to plugins (#10862) Nov 15, 2016
.gitmodules Add submodule Oct 4, 2016
.phpstorm.meta.php Add support for auto-completion when using the container thanks to th… Jun 24, 2015
.scrutinizer.yml Try to debug unit tests on Scrutinizer Jun 10, 2015
.travis.yml Button to add a segment is missing some text in French language (#10897 Dec 1, 2016 changelog message Mar 21, 2017 Merge master => 3.0 Mar 8, 2016
LEGALNOTICE Remove Smartbanners (#11301) Feb 19, 2017 Revising and tweaking the file for clarity, assuming a non… Jul 15, 2015
PULL_REQUEST_TEMPLATE Update Oct 3, 2016 InnoCraft Cloud Mar 1, 2017 typo security Jan 6, 2015
bower.json refs #10376 remove touch punch library as it makes UI slow (#10491) Sep 19, 2016
composer.json Update Marketplace to work with new API (#10799) Nov 15, 2016
composer.lock Updated our own composer libraries to latest (#11430) Mar 1, 2017
console Removed useless translations loading (now lazily-loaded) Jan 5, 2015
index.php Removed Piwik\Loader: Composer's autoloader is now included in core/b… Dec 22, 2014
piwik.js Improvements for tracking of single page applications (#11344) Feb 21, 2017
piwik.php Add require_once to prevent build failure Jul 21, 2016

Piwik -

Latest Stable Version Latest Unstable Version License

Code Status

Build Status Scrutinizer Code Quality Code Coverage Percentage of issues still open Dependency Status


Piwik is the leading Free/Libre open analytics platform.

Piwik is a full featured PHP MySQL software program that you download and install on your own webserver. At the end of the five minute installation process you will be given a JavaScript code. Simply copy and paste this tag on websites you wish to track and access your analytics reports in real time.

Piwik aims to be a Free software alternative to Google Analytics, and is already used on more than 1,000,000 websites. Privacy is built-in!

Mission Statement

« To create, as a community, the leading international Free/Libre web analytics platform, providing access to all functionality through open components and open APIs. »

Or in short:

« Liberate Web Analytics »


Piwik is released under the GPL v3 (or later) license, see misc/gpl-3.0.txt


  • PHP 5.5.9 or greater
  • MySQL version 5.5 or greater, or MariaDB
  • PHP extension pdo and pdo_mysql, or the MySQLi extension.
  • Piwik is OS / server independent



  • Upload piwik to your webserver
  • Point your browser to the directory
  • Follow the steps
  • Add the given javascript code to your pages
  • (You may also generate fake data to experiment, by enabling the plugin VisitorGenerator)


If you do not have a server, consider our Piwik Hosting partner:


For the list of all tickets closed in the current and past releases, see For the list of technical changes in the Piwik platform, see

Get involved!

We believe in liberating Web Analytics, providing a free platform for simple and advanced analytics. Piwik was built by dozens of people like you, and we need your help to make Piwik better… Why not participate in a useful project today? Learn how you can contribute to Piwik.

Quality Assurance

The Piwik project uses an ever-expanding comprehensive set of thousands of unit tests and hundreds of automated integration tests, system tests, JavaScript tests, and screenshot UI tests, running on a continuous integration server as part of its software quality assurance. Learn more

We use testing tool to help check the Piwik user interface is compatible with many browsers.


Security is a top priority at Piwik. As potential issues are discovered, we validate, patch and release fixes as quickly as we can. We have a security bug bounty program in place that rewards researchers for finding security issues and disclosing them to us.

Learn more

Support for Piwik

For Free support, post a message in our community forums:

For Professional paid support, send a message to our network of Piwik professionals:



About us:

Contact us:

More information

What makes Piwik unique from the competition:

  • Real time web analytics reports: in Piwik, reports are by default generated in real time. For high traffic websites, you can choose the frequency for reports to be processed.

  • You own your web analytics data: since Piwik is installed on your server, the data is stored in your own database and you can get all the statistics using the powerful Piwik Analytics API.

  • Piwik is a Free Software which can easily be configured to respect your visitors' privacy.

  • Modern, easy to use User Interface: you can fully customize your dashboard, drag and drop widgets and more.

  • Piwik features are built inside plugins: you can add new features and remove the ones you don’t need. You can build your own web analytics plugins or hire a consultant to have your custom feature built in Piwik

  • Vibrant international Open community of more than 200,000 active users (tracking even more websites!)

  • Advanced Web Analytics capabilities such as Ecommerce Tracking, Goal tracking, Campaign tracking, Custom Variables, Email Reports, Custom Segment Editor, Geo Location, Real time maps, and more!

Documentation and more info on