Koko Analytics – Privacy Friendly Statistics for WordPress

Descripción

Koko Analytics provides website analytics and visitor statistics directly inside your WordPress dashboard without relying on external services. It is privacy-friendly, lightweight, open source, and easy to use.

Fully GDPR, CCPA and PECR compliant by design: no personal data is processed or stored, everything runs on your own server and can be used without cookies.

You can view a live demo of Koko Analytics here.

Privacy Friendly Analytics

Koko Analytics is privacy friendly analytics. No personal data is processed or stored, all measurements are carried out completely anonymously and nothing is ever shared with any third-party service.

Lightweight Statistics

Koko Analytics is lightweight analytics. It adds less than 1 kilobyte of data to your HTML and is fully compatible with pages served from any kind of cache. WordPress is bypassed entirely for its collection endpoint, making the impact on your site’s performance as close to zero as possible. Fact: there is no faster statistics plugin for WordPress.

Simple Analytics Dashboard

Koko Analytics is simple analytics. There are no complicated reports to dig through. A single dashboard page shows you all the important metrics.

Open Source Analytics

Koko Analytics is open source analytics released under the GPL license, just like WordPress itself. It is built in the open: anyone can verify how it works and no company can lock you in or take it away.

Características

  • A beautiful analytics dashboard built right into WordPress admin.
  • View statistics for your most popular posts and pages.
  • See referral statistics showing which sites send you traffic.
  • Path-based tracking to see analytics for any URL, including archives and search pages.
  • Reliably detect returning visitors without the use of cookies.
  • Exclude visits from certain WordPress user roles or IP addresses.
  • Import historical statistics from Jetpack Stats, Plausible or Burst Statistics.
  • Periodically clean-up historical data older than a specified number of months or years.
  • A widget, Gutenberg block or shortcode to show a list of your most visited posts or pages.
  • A shortcode or Gutenberg block to show the total number of pageviews to a given page.

Premium features

  • See what countries your site is visited from with geo-location statistics.
  • See what browsers, operating systems or devices your visitors are using.
  • Track custom events like outbound link clicks, contact form submissions, add to cart, and more.
  • Stay up-to-date with periodic analytics reports delivered to your email inbox.
  • Be notified of traffic spikes over email.

All of this is available with a Koko Analytics Pro license. View pricing for Koko Analytics Pro here

Capturas

  • A good looking analytics dashboard right inside your WordPress admin
  • View analytics over the past 2 weeks directly after logging in
  • Configure all tracking related settings.
  • Customize what your analytics dashboard looks like.
  • Register custom events for tailored analytics. [Pro]
  • Configure periodic email reports or traffic spike notification. [Pro]
  • You own your data. Export or import at will.
  • Show your most viewed posts in a widget.
  • See exactly where your website is visited from or what browsers, operating system or devices your visitors are using. [Pro]

Bloques

Este plugin proporciona 2 bloques.

  • Pageview Count
  • Most Viewed Pages

Instalación

You can install Koko Analytics in multiple ways:

  1. In your WordPress admin, go to Plugins > Add New, search for Koko Analytics, and click Install Now.
  2. Download from WordPress.org and upload to /wp-content/plugins/.
  3. Download from GitHub and upload to /wp-content/plugins/.

Once activated, Koko Analytics starts collecting statistics right away — no configuration needed.

View your website analytics under WP Admin > Dashboard > Analytics.

FAQ

If your question is not listed here, take a look at the Koko Analytics documentation on our site.

Does Koko Analytics set any cookies?

The use of cookies in Koko Analytics is optional.

Read more here: Does Koko Analytics use cookies?

Will using Koko Analytics slow down my site?

No.

Koko Analytics is lightweight analytics. It adds less than 1 kilobyte of data to your HTML and is fully compatible with pages served from any kind of cache. WordPress is bypassed entirely for its collection endpoint, making the impact on your site’s performance as close to zero as possible. Fact: there is no faster statistics plugin for WordPress.

Is Koko Analytics privacy-friendly?

Absolutely.

  • No personal data is processed or stored.
  • No third-party services are involved.
  • Nothing that could identify a single visitor is stored, only aggregated counts.

Is Koko Analytics open-source?

Yes.

Koko Analytics is open source analytics released under the GPL license, just like WordPress itself. It is built in the open: anyone can verify how it works and no company can lock you in or take it away.

Do I need an account?

No.

Koko Analytics runs entirely on your own site, no third party services are involved. You install the plugin and stats will start recording right away.

Does Koko Analytics work with pages served from caches?

Yes.

Koko Analytics is fully compatible with all sorts of caches.

Reseñas

29 de abril de 2026 1 respuesta
I was looking for a good and private friendly stats. I found here!
25 de abril de 2026
Strangely would expect this and Jetpak analytics to closely agree, but they don’t. I believe this the more accurate app.
12 de abril de 2026
I have been using Koko Analytics for over a year, it is a good stats plugin and lightweight so no impact on performance
8 de abril de 2026 1 respuesta
I use it more than a year and I’m very satisfied with it.
8 de abril de 2026
It’s now the 2nd time, that this plugin drags a whole server down due to «data base migration». First time a coupe of months ago, it was a shared hosting server, where I booked a premium hosting package. All packages was down at this incident. Was able to solve the issue (the hoster killed all running php migration tasks), and I deactivated the plugin. A couple of days later, after the developer has fixed that issue, I gave Koko a 2nd chance. Yesterday another Koko Analytics update, that I tested on a 2nd blog. Because everything looks fine, I also decided to let update the plugin on my may IT blog. That went fine, until the evening, when suddenly all 3 blogs running on that server, was down. Unfortunately I’ve sold the project, So I have no more access to the server. The new owner informed me this morning, that he solved the isse. He wrote » The Koko Analytics plugin on /blog/ initiated a database migration after an update (new index on the statistics table). An upstream delete query on the koko_analytics_post_stats table got stuck in the process—it ran for over 6 hours without producing any results. The problem: Every new request to /blog/ triggered the migration again, and each of these requests also got stuck. As a result, all 50 PHP processes were blocked within a short time, making the entire server (including the main page and /win) inaccessible.» I now finally dumped the plugin – the 2nd incident was one to much.
Leer todas las 230 reseñas

Colaboradores y desarrolladores

«Koko Analytics – Privacy Friendly Statistics for WordPress» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Koko Analytics – Privacy Friendly Statistics for WordPress» está traducido en 21 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «Koko Analytics – Privacy Friendly Statistics for WordPress» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

2.3.5 – May 1, 2026

  • data: ensure aggregation process does not run while database migrations are pending.
  • perf: aggregation process no longer invalidates alloptions cache on every run.
  • perf: process database pruning in chunks of 10K rows.
  • security: add nonce verification to user-initiated action to update to v2.

2.3.4 – Apr 20, 2026

  • fix: access to Jetpack and Plausible importer pages.
  • fix: database warning because of unexisting table on fresh installs.
  • ux: table rows selectable again.
  • seo: remove canonical URL from public dashboard (because it is already noindex).
  • database: change default database purge treshold to 3 years (down from 5).
  • dashboard: don’t listen to query string argument for public dashboard if pretty permalinks are enabled.

2.3.3 – Apr 8, 2026

  • database: fix table and column value for upserting new referrer URL’s.

2.3.2 – Apr 7, 2026

  • dashboard: draggable icon now only shows up when hovering table header, not table body
  • database: prevent running database migrations concurrently
  • database: try to increase time limit to 300s before running database migrations
  • database: re-acquire and extend acquired lock after every individual database migration step

2.3.0 – Apr 7, 2026

  • tracking: improved detection of preflight requests and requests from headless browsers.
  • tracking: add more aggregation rules for google subdomains
  • database: improved migration runner for more reliable database migrations
  • database: use atomic upsert for upserting normalized string values (like paths and referrer urls).
  • database: improved performance for pruning action.
  • shortcode: fix koko_analytics_counter sometimes not working properly when used outside of post content.
  • shortcode: format output of koko_analytics_counter shortcode according to localized number formatting rules.
  • settings: restrict tab query parameter to whitelisted values only
  • ux: allow a custom order of your dashboard components through drag and drop.
  • ux: add direct link to page in the top pages component.
  • ux: styling improvements to the dashboard.
  • dev: add filter koko_analytics_print_html_comments to disable HTML comments with version info.

2.2.5 – Mar 18, 2026

  • Change URL for tracking request to home_url to bypass rate limits on admin-ajax.php on some hosts. This only applies if not using the optimized endpoint.
  • Format date in chart tooltip differently depending on grouping.
  • Fix issue where dashboard could only fetch statistics up to 10 years back, due to pre-generated dates table.
  • Prevent load_textdomain_just_in_time() warning when other plugins call wp_get_schedules() before init hook.
  • Various typing improvements for issues as reported by PHPStan.

2.2.4 – Feb 17, 2026

  • Fix fatal error on fresh plugin installation because of calling non-static method statically.
  • Fix [koko_analytics_counter] shortcode no longer working in version 2.2.2 because of lacking function arguments.

2.2.2 – Feb 17, 2026

  • Add hook koko_analytics_public_dashboard_headers, which fires before sending HTTP headers for public dashboard. This allows a password protected public dashboard in Koko Analytics Pro.
  • Add hook koko_analytics_output_dashboard_settings which allows adding setting rows at any position on the dashboard settings page.
  • Delete koko_analytics_last_aggregation_at option on plugin uninstall.
  • Add gradient showing relative weight per row in the referrers table.
  • Fix Jetpack & Plausible import pages not accessible since version 2.2.0.
  • Minor performance improvements by changing code structure to re-use commonly used action hooks.

2.2.1 – Feb 02, 2026

  • gutenberg: add counter block type
  • tracking: add filter koko_analytics_allowed_query_vars (example)
  • performance: rollup database migrations older than 5 years.

2.2.0 – Jan 21, 2026

  • settings: allow plugins to register their own settings tab through the koko_analytics_settings_tabs filter.
  • endpoint: remove duplicate require statements in case several plugins add the same file.

2.1.3 – Jan 12, 2026

  • data export: escape path and referrer url values in data export file. Fixes a potential SQL injection vulnerability when importing a previously exported dataset containing malicious path values (CVE-2026-22850). Thanks to Hector Ruiz from naxus-audit for responsibly disclosing.
  • data import: only allow SQL statements affecting the Koko Analytics database
    tables
  • tracking: reject invalid path values per the RFC 2396 specification

2.1.2 – Jan 7, 2026

  • tracking: accept path and post ID argument in koko_analytics.trackPageview(path, post_id) function to allow manual calls in single-page applications.
  • dashboard: add group by ‘year’ option to chart

View complete changelog at https://www.kokoanalytics.com/changelog/