Matomo is the leading Free/Libre open analytics platform.
Matomo 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.