Description
Koko Analytics is a privacy-friendly and lightweight Google Analytics alternative for WordPress sites. It is a plug and play solution to get GDPR compliant insights into your website visitors without requiring any third-party services.
Why choose Koko Analytics?
Important insights
Koko Analytics provides you with simple and effective analytics. There are no complicated reports to dig through. All the important metrics are visible from a quick glance at your analytics dashboard, right inside your WordPress admin.
Privacy-friendly analytics
Koko Analytics is a privacy-friendly solution for WordPress. It can be used without any cookies, no personal data is processed or stored and nothing is shared with any third-party. That makes it suitable for GDPR, CCPA, and PECR-compliant website statistics.
Lightweight website statistics
Koko Analytics is lightweight. It adds less than 1 kilobyte of data to your pages and is fully compatible with all kinds of caching setups. WordPress is bypassed entirely for its collection endpoint, making the impact on your site’s performance as close to zero as possible.
Open source analytics
Koko Analytics is open source released under the GPL license, just like WordPress itself. The source code is publicly available. Everyone has the right to run, study, share or modify the source code.
Features
- WordPress analytics dashboard – View your website statistics directly inside WordPress admin.
- Top posts and pages – See which content gets the most visits.
- Referrer statistics – Find out which websites send traffic to your site.
- Path-based tracking – Track statistics for any URL, including archives and search pages.
- Returning visitor detection – Reliably detect returning visitors without cookies.
- Exclusion rules – Exclude visits from selected WordPress user roles or IP addresses.
- Historical data imports – Import statistics from Jetpack Stats, Plausible, or Burst Statistics.
- Automatic data cleanup – Remove historical data older than a chosen number of months or years.
- Popular posts output – Show your most visited posts or pages with a widget, Gutenberg block, or shortcode.
- Pageview counter – Show the total number of pageviews for a page with a shortcode or Gutenberg block.
Koko Analytics Pro
Koko Analytics Pro adds more reporting options for sites that need deeper analytics.
- Country statistics – See which countries your visitors come from.
- Technology reports – View browser, operating system, and device statistics.
- Email reports – Receive periodic analytics reports in your inbox.
- UTM Campaigns – Measure the performance of your marketing campaigns.
- Custom event tracking – Track outbound link clicks, contact form submissions, add-to-cart actions, and more.
- Traffic spike alerts – Get notified by email when traffic changes quickly.
View the Koko Analytics live demo or see Koko Analytics Pro pricing.
Screenshots




![Custom event tracking for outbound links, form submissions, and other analytics events. [Pro]](https://ps.w.org/koko-analytics/assets/screenshot-5.png?rev=3508893)
![Email reports and traffic spike notifications for Koko Analytics Pro. [Pro]](https://ps.w.org/koko-analytics/assets/screenshot-6.png?rev=3508893)


![Country, browser, operating system, and device statistics for deeper website analytics. [Pro]](https://ps.w.org/koko-analytics/assets/screenshot-9.png?rev=3508893)
Blocks
This plugin provides 2 blocks.
- Pageview Count
- Most Viewed Pages
Installation
- Go to Plugins > Add New in your WordPress dashboard.
- Search for Koko Analytics.
- Click Install Now, then Activate.
- To upload the plugin manually, download the ZIP from WordPress.org or GitHub, then go to Plugins > Add New > Upload Plugin.
- After activation, Koko Analytics starts collecting statistics right away. No configuration is required.
- View your website analytics under Dashboard > Analytics in WordPress admin.
FAQ
-
Is Koko Analytics a WordPress analytics plugin?
-
Yes. Koko Analytics is a WordPress analytics plugin that shows pageviews, visitors, top pages, and referrers inside your WordPress dashboard.
-
Cookies are optional in Koko Analytics. You can use the plugin without cookies for privacy-friendly website statistics. Read more in the guide: Does Koko Analytics use cookies?
-
Will Koko Analytics slow down my site?
-
No. Koko Analytics adds less than 1 KB to your HTML, works with cached pages, and uses an optimized collection endpoint to keep performance impact as low as possible.
-
Is Koko Analytics privacy-friendly?
-
Yes. Koko Analytics does not process or store personal data, does not use third-party analytics services, and only stores aggregated counts.
-
Is Koko Analytics open source?
-
Yes. Koko Analytics is open source analytics released under the GPL license, just like WordPress itself. Anyone can inspect how it works.
-
Do I need an account to use Koko Analytics?
-
No account is needed. Koko Analytics runs on your own WordPress site, and statistics start recording after activation.
-
Does Koko Analytics work with cached pages?
-
Yes. Koko Analytics is compatible with pages served from many types of cache.
-
Where do I report security bugs found in this plugin?
-
Please report security bugs found in the source code of the plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
-
Other questions
-
If your question is not listed here, read the Koko Analytics documentation.
Reviews
Contributors & Developers
“Koko Analytics – Privacy-Friendly WordPress Analytics” is open source software. The following people have contributed to this plugin.
Contributors“Koko Analytics – Privacy-Friendly WordPress Analytics” has been translated into 21 locales. Thank you to the translators for their contributions.
Translate “Koko Analytics – Privacy-Friendly WordPress Analytics” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.5.1
- tracking: more aggressive bot filter lists.
- dashboard: add new Koko Analytics logo and brand colors.
2.5.0
- import: add importers for Burst Statistics, Statify, WP Statistics, Independent Analytics, and SlimStat Analytics.
- import: fix updating existing referrer statistics during imports.
- dashboard: improve the styling of KPI metrics, charts, tables, pagination, and the Pro upsell.
- dashboard: dim the realtime component when filtering by page.
- data: run database migrations immediately after resetting tables.
2.4.1
- import: fix Plausible importer compatibility with PHP 7.4.
- security: harden data import validation and output escaping.
- dashboard: fix collation mismatch when querying by path containing utf-8 characters.
- dashboard: return a 403 response and prevent indexing when visited by bots or crawlers.
- compatibility: raise the minimum supported WordPress version to 6.2.
2.4.0
- tracking: hook into the visibilitychange event again to ignore prerender requests.
- data: rewrite exporter and importer to use NDJSON instead of raw SQL.
- import: fix column names for the referrer stats table.
- rest: clamp date range for unauthenticated users to prevent large table scans.
- review notice: simplify the review notice to one primary action.
2.3.7
- tracking: include UTM parameters in pageview tracking requests so integrations can access campaign data.
- endpoint: harden pageview and event request validation by checking required parameters and accepted types.
- endpoint: unslash request data when running inside WordPress.
- endpoint: use exact buffer filename matching when finding existing buffer files.
- endpoint: use file locking when writing to buffer and session files.
- endpoint: handle missing upload or sessions directories more defensively.
- dashboard: fix saving component order when the page contains non-sortable dashboard columns.
- dashboard: keep an explicit group parameter when switching chart grouping back to days.
- docs: add campaign parameters to in-plugin links to Koko Analytics documentation and Pro pages.
