https://github.com/ibericode/koko-analytics
Privacy-friendly, open-source analytics for WordPress — GDPR compliant, cookieless, and fast
https://github.com/ibericode/koko-analytics
analytics google-analytics koko-analytics privacy site-analytics site-statistics statistics website wordpress wordpress-plugin
Last synced: about 20 hours ago
JSON representation
Privacy-friendly, open-source analytics for WordPress — GDPR compliant, cookieless, and fast
- Host: GitHub
- URL: https://github.com/ibericode/koko-analytics
- Owner: ibericode
- License: gpl-3.0
- Created: 2019-10-24T15:00:12.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2026-03-09T13:23:23.000Z (4 days ago)
- Last Synced: 2026-03-09T18:10:42.274Z (4 days ago)
- Topics: analytics, google-analytics, koko-analytics, privacy, site-analytics, site-statistics, statistics, website, wordpress, wordpress-plugin
- Language: PHP
- Homepage: https://www.kokoanalytics.com/
- Size: 5.75 MB
- Stars: 392
- Watchers: 14
- Forks: 33
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
Koko Analytics for WordPress
===========
[](https://raw.githubusercontent.com/ibericode/koko-analytics/master/LICENSE)
[](https://wordpress.org/plugins/koko-analytics/advanced/)
[](https://wordpress.org/support/plugin/koko-analytics/reviews/)
[](https://pagespeed.web.dev/analysis/https-www-kokoanalytics-com/e8d4epi2jf?form_factor=mobile)
**[Koko Analytics](https://www.kokoanalytics.com/) is a fast, privacy-friendly, open-source analytics plugin for WordPress — no cookies, no tracking, no external services.**
Screenshot of the Koko Analytics dashboard. You can view a live demo here.
---
## Why Koko Analytics?
Koko Analytics is a simple replacement for Google Analytics that:
- Works out-of-the-box (no setup wizard or API keys)
- Stores all data on your server
- Tracks only aggregated counts, never personal data
- Respects GDPR and CCPA by design
- Loads lightning-fast with a script under 500 bytes
[See All Features →](https://www.kokoanalytics.com/features/)
---
### Koko Analytics Pro (optional add-on)
Upgrade for advanced insights while keeping your visitors’ privacy intact:
- 🌍 [Geo-location](https://www.kokoanalytics.com/features/geo-location/)
- 🔗 [Event Tracking](https://www.kokoanalytics.com/features/custom-event-tracking/)
- 📨 [Email Reports](https://www.kokoanalytics.com/features/email-reports/)
- 🛠 [CSV Export](https://www.kokoanalytics.com/features/csv-export/)
- 📈 [Pageviews Column in WP Admin](https://www.kokoanalytics.com/features/pageviews-column/)
- 📊 [Admin Bar stats](https://www.kokoanalytics.com/features/admin-bar/)
- 🚨 [Traffic Spike Notifications](https://www.kokoanalytics.com/features/traffic-spike-notifications/)
[Get Koko Analytics Pro →](https://www.kokoanalytics.com/pricing/)
---
## Quick Start
### Requirements
- WordPress 6.0+
- PHP 7.4+ (latest recommended)
### Install from WordPress.org
1. In your WordPress dashboard, go to **Plugins → Add New**
1. Search for “Koko Analytics”
1. Click **Install** and **Activate** — stats start recording immediately
### Install from GitHub (latest development version)
```sh
git clone git@github.com:ibericode/koko-analytics.git wp-content/plugins/koko-analytics
cd wp-content/plugins/koko-analytics
composer install
npm install
npm run build
```
---
## Usage
Once activated, visit Dashboard → Analytics in WordPress to view your stats.
See our [Knowledge Base](https://www.kokoanalytics.com/kb/) for advanced configuration, REST API usage, and code snippets.
---
## Contributing
Koko Analytics is open source and community-driven. You can:
- ⭐ Star this repo
- 🗣 [Suggest & vote on features](https://github.com/ibericode/koko-analytics/discussions)
- 🌍 [Translate the plugin](https://translate.wordpress.org/projects/wp-plugins/koko-analytics/stable/)
- 📝 Write about it on your blog or social media
- 💖 [Upgrade to Koko Analytics Pro](https://www.kokoanalytics.com/pricing/) to fund development
---
## License
GNU General Public License v3.0