Koko Analytics is a simple, open-source, lightweight (< 850 bytes) and privacy-friendly website analytics plugin for WordPress.
It aims to be a simple replacement for Google Analytics that respects the privacy of your visitors. Nothing visitor specific is tracked, only aggregated counts.
You can view a live demo of Koko Analytics here.
- Plug and play: After activating the plugin, stats are recorded right away.
- GDPR and CCPA Compliant by design.
- No external services.
- No personal information or anything visitor specific is tracked.
- No cookies (optional).
- Fast: Handles thousands of daily visitors or sudden bursts of traffic without breaking a sweat.
- Lightweight: Adds less than 850 bytes of data to your pages.
- Storage: A year worth of data takes up less than 5MB of database storage.
- Cached: Fully compatible with pages served from cache.
- Open-source: GPLv3 licensed.
- Translated: Fully translated into English, German, Dutch, Spanish, Japanese, Croatian, Swedish, Danish, Finnish, Italian, Korean and Russian.
Koko Analytics is a freemium plugin. The core features listed above are available for free. Certain advanced features are bundled in an add-on plugin called Koko Analytics Pro:
- Outbound link tracking
- Track form submissions
- Export dashboard view to CSV
- Periodic email reports
You can purchase Koko Analytics Pro from our site.
Note that these are minimum required versions. We recommend running an officially supported version of PHP.
- WordPress 6.0 or higher.
- PHP 7.3 or higher.
You can download a pre-packaged version of Koko Analytics here:
- Koko Analytics on WordPress.org
- From the GitHub releases page.
- From your WordPress admin by searching for "Koko Analytics" in the "Add plugin" screen.
After extracting this package into your /wp-content/plugins/
directory the plugin is ready to be used right away.
To run the latest development version of the plugin, take the following steps.
First, clone or download the repository into your /wp-content/plugins/
directory
git clone git@github.com:ibericode/koko-analytics.git
Create the autoloader using Composer.
composer install
Install client-side dependencies using NPM.
npm install
Build the plugin assets by issuing the following command:
npm run build
Stats will be collected right away after you install and activate the plugin. You can view your stats on the Dashboard > Analytics page.
The Koko Analytics knowledge base contains general help articles on effectively using the plugin.
We also have a repository of sample code snippets to help you modify or extend the plugin's default behavior.
You can contribute to Koko Analytics in many different ways. For example:
- Write about the plugin on your blog or share it on social media.
- Translate the plugin into your language using your WordPress.org account.
- Vote on features in the GitHub discussions idea board.
- Purchase Koko Analytics Pro for its advanced features or simply to help fund development and support costs.
GNU General Public License v3.0