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 a8f682a Sep 26, 2016 @mattab mattab committed on GitHub Release 2.16.3-b4 (#10558)
* Fix Scheduled Reports sent one hour late in daylight saving timezones (#10443)

* convert hour to send report to/from UTC, to ensure it isn't affected by daylight savings

* adds update script to change existing scheduled reports to use utc time

* code improvement

* adds missing param

* Added new event Archiving.makeNewArchiverObject to  allow customising plugin archiving  (#10366)

* added hook to alllow plugin archiving prevention

* cr code style notes

* reworked PR to fit CR suggestions

* added PHPDoc for hook

* Event description more consistent

* UI tests: minor changes

* Adds test checking if all screenshots are stored in lfs

* removed screenshots not stored in lfs

* readds screenshots to lfs

* 2.16.3-b4
Failed to load latest commit information.
config Split piwik.js into multiple files and provide a merged one (#10441) Aug 28, 2016
core Release 2.16.3-b4 (#10558) Sep 26, 2016
js expose some DOM methods (#10522) Sep 19, 2016
lang language update Aug 25, 2016
libs Fix the integration test and patch Zend Validate Aug 22, 2016
misc Fix issue when running archiving via the old archive.php path Aug 28, 2016
plugins Release 2.16.3-b4 (#10558) Sep 26, 2016
tests Release 2.16.3-b4 (#10558) Sep 26, 2016
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 make it possible to use old and new expected screenshot path Aug 31, 2016
.gitignore Split piwik.js into multiple files and provide a merged one (#10441) Aug 28, 2016
.gitmodules remove old screenshot submodule Aug 31, 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 .travis.yml file is out of date, auto-updating .travis.yml file. Aug 31, 2016 Mention usage of Git LFS in Changelog (#10465) Sep 5, 2016 How to submit code improvements via pull requests? Feb 22, 2016
LEGALNOTICE Update pchart version number May 10, 2015 Revising and tweaking the file for clarity, assuming a non… Jul 15, 2015
PULL_REQUEST_TEMPLATE Add pull request template mentioning PRs should be made against 3.x-d… Aug 3, 2016 Professional Services for Piwik, neutral branding within Piwik app (#… Jul 24, 2016 typo security Jan 6, 2015
bower.json installing touch-punch lib to fix dragging issue on mobiles (#10045) Jul 12, 2016
composer.json Update composer libraries, while enforcing the minimum php in compose… Jul 21, 2016
composer.lock update device detector and search eninge definiton dependencies Sep 18, 2016
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 expose some DOM methods (#10522) Sep 19, 2016
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.3.3 or greater
  • MySQL 4.1 or greater, and either MySQLi or PDO library must be enabled
  • 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