Koko Analytics: Open Source WordPress Analytics
Koko Analytics is an open-source, simple, lightweight and privacy-friendly Google Analytics alternative for WordPress sites.

What does it mean to be open-source software?
Being open-source software means that our plugin is licensed under an open-source software license, granting you certain rights. Specifically, you have the rights to run, study, share or modify the source code of the Koko Analytics plugin.
Our source code is available and accessible on GitHub. You can read the code, contribute changes for us to review, access earlier versions or even distribute a modified version of it should you wish to do so.
What license is Koko Analytics released under?
Koko Analytics is open-source software released under the GNU General Public License, version 3 or later. You can find the complete license text here.
This is the same open-source license that WordPress itself uses.
Is Google Analytics open source too?
No, quite the opposite. Google Analytics is a closed-source / proprietary software product that runs on their own servers. With a closed source software product like that, there is simply no way of knowing what is truly going on behind the scenes when you’re using the Google Analytics tracking script on your website.
Is Koko Analytics Pro also open-source software?
Yes. Koko Analytics Pro is released under the same GPL license as the free plugin.