Koko Analytics – Privacy-Friendly Statistics for WordPress
by Danny van Kooten on WordPress.org
Lightweight, privacy-friendly website analytics & statistics for WordPress. No cookies, no personal data, 100% GDPR/CCPA compliant.

Koko Analytics' dashboard to view your website statistics.
Plug & Play Privacy-Friendly Analytics for WordPress
Koko Analytics is a privacy-friendly analytics plugin for WordPress sites.
It does not use any external services, so no data is shared with any third-party. Nothing specific to any individual visitor is collected, only aggregated counts.
Stop sharing visitor data with third-party companies who also happen to sell ads (looking at you, Google Analytics). Stop slowing down your website with large tracking scripts. Liberate and own your data!
Koko Analytics lets you focus on the important statistics while completely respecting the privacy of your visitors.
You can view a live demo here.
Koko Analytics is a free plugin that does not require an account with a third-party service. It runs completely on your own server.
Features
- Plug and play: After installing and activating the plugin, statistics will automatically be collected.
- No external services: Any data never leaves your server.
- No personal data or anything visitor specific is tracked.
- No cookies: You can choose which tracking method to use; cookie-based, cookieless or none at all.
- Fast: Handles hundreds of concurrent pageviews without breaking a sweat.
- Lightweight: Only 500 bytes (!) of JavaScript is added to your pages. In your database, a full year worth of data will take up less than 10 MB of storage.
- GDPR Compliant by design.
- Metrics: All the essentials: total pageviews, unique pageviews and referral URL’s.
- Referrer spam: Built-in blocklist to filter out referrer spam.
- REST API: You can access your data from anywhere via REST API endpoints.
- Cached: Fully compatible with pages served from any kind of cache.
- Open-Source: The plugin code is open-sourced under the GPL-3.0-or-later license.
- Tested: Ready for PHP 8.4, but compatible down to PHP 7.3.
- AMP: Tracks AMP powered pages too (official AMP plugin only).
- Import data from other plugins: You can import historical data from Jetpack Stats or Burst Statistics.
Upgrade to Koko Analytics Pro
All of the features listed above are available for free. Some advanced features are available through Koko Analytics Pro:
- Geo-location: see exactly which countries your site is visited from.
- Event Tracking: track outbound link clicks, form submissions or any other type of custom event.
- Email Reports: Receive a daily, weekly or monthly email summary of your website’s most important statistics.
- CSV Export: The ability to export your dashboard data to CSV for advanced analysis.
- Pageviews Column: Shows the number of pageviews over a configurable time period right in your WP Admin posts and pages overview.
- Admin Bar: Shows daily pageviews for a specific page in your WordPress Admin Bar.
- Traffic Spike Notifications: receive an email notification when your website experiences a traffic spike.
You can purchase Koko Analytics Pro here.