Koko Analytics 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.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
 
Upgrade for advanced insights while keeping your visitors’ privacy intact:
- 🌍 Geo-location
 - 🔗 Event Tracking
 - 📨 Email Reports
 - 🛠 CSV Export
 - 📈 Pageviews Column in WP Admin
 - 📊 Admin Bar stats
 - 🚨 Traffic Spike Notifications
 
- WordPress 6.0+
 - PHP 7.4+ (latest recommended)
 
- In your WordPress dashboard, go to Plugins → Add New
 - Search for “Koko Analytics”
 - Click Install and Activate — stats start recording immediately
 
git clone [email protected]:ibericode/koko-analytics.git wp-content/plugins/koko-analytics
cd wp-content/plugins/koko-analytics
composer install
npm install
npm run buildOnce activated, visit Dashboard → Analytics in WordPress to view your stats.
See our Knowledge Base for advanced configuration, REST API usage, and code snippets.
Koko Analytics is open source and community-driven. You can:
- ⭐ Star this repo
 - 🗣 Suggest & vote on features
 - 🌍 Translate the plugin
 - 📝 Write about it on your blog or social media
 - 💖 Upgrade to Koko Analytics Pro to fund development
 
GNU General Public License v3.0
