Koko Analytics

Description

Koko Analytics is a privacy-friendly analytics plugin for your WordPress site. It does not need any external services, so any data about your visitors is never shared with a third-party service.

Furthermore, your visitors’ privacy is respected. Nothing that could lead back to a specific visitor is tracked and it is easy for visitors to opt-out of tracking altogether using a standardized browser setting called “Do Not Track”.

Stop scrolling through pages of reports while collecting sensitive data about your visitors, both of which you probably do not need.
Koko Analytics allows you to focus on what is important and gives you all the essential metrics you need to improve your website, while truly respecting the privacy of your visitors.

Features

  • Plug and play. Just install and activate the plugin and stats will automatically be recorded.
  • No external services. Data about visits to your website is yours and yours alone.
  • No personal information or anything visitor specific is tracked.
  • Blazingly fast. Handles thousands of daily visitors or sudden bursts of traffic without breaking a sweat.
  • Counts all the essential metrics you need: visitors, pageviews and referrers for your site and each individiual page.
  • Option to not use any cookies while still being able to detect returning visitors and unique pageviews, albeit less reliable.
  • Option to exclude traffic from logged-in users (by user role).
  • Option to automatically delete old data.
  • Built-in blacklist to filter referrer spam.
  • Compatible with pages served from cache.
  • Compatible with AMP powered pages.
  • GDPR compliant by design.
  • Open-source (GPL-3.0+ licensed).

You can contribute to Koko Analytics on GitHub or by translating the plugin into your language.

Screenshots

  • Koko Analytics' dashboard to view your website statistics.
  • The settings page where you can exclude certain user roles from being counted.
  • A widget to show your most viewed posts (or any other post type) for a given period.
  • The dashboard widget to quickly show your site visits over the last 2 weeks.

Installation

  1. In your WordPress admin area, go to Plugins > New Plugin, search for Koko Analytics and click Install now.
  2. Alternatively, download the plugin files and upload the contents of koko-analytics.zip to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin. Koko Analytics will start recording stats right away.
  4. Access your analytics by browsing to Dashboard > Analytics in your WordPress admin area.

FAQ

Does this respect my visitor’s privacy?

Absolutely, nothing that could lead back to the visitor is recorded. Furthermore, if the visitor has “Do Not Track” enabled in their browser, this is respected.

Does this use any external services?

No, the data never leaves your website. That’s (part of) what makes Koko Analytics such a great choice if you value true privacy.

Does this set any cookies?

By default, yes. But you can easily disable this in the plugin’s settings. Without cookies, the plugin can still detect returning visitors and unique pageviews, albeit less reliable.

Will this slow down my website?

No, the plugin is built in such a way that it never slows down your website for your visitors. If there is heavy lifting to be done, it is done in a background process.

In fact, because the plugin does not depend on any external services it is usually much faster than third-party analytics tools.

Reviews

December 9, 2019
Like many wordpress developers I've tried all kinds of analytics solutions including Google Analytics, Jetpack and everything in between. The problem is always the same - either too complex, too bloated or a combination of both. Koko Analytics is the solution I believe many of us have been waiting for, simple stats that are quick to view and take in with no issues around privacy to worry about. Thanks also to Danny for helping me install on an old site where a few legacy issues were preventing the plug-in from working properly. He went above and beyond the call of duty, that's for sure.
December 2, 2019
Previously used Statify in order to have a small and privacy-friendly statistics plugin. Finally switched over to Koko Analytics and I really love it!
November 30, 2019
Simple, doesn't use too much resources, and doesn't sell your data off. I just needed a bit more data about my visitors so my search continues
November 26, 2019
If you don't need the level of details that other solutions provide, this is an excellent alternative. Koko provides good basic analytics, is easy to set up and use, and doesn't share data with 3rd parties.
November 21, 2019
I value my customer's privacy just as I value my own and this plugin is perfect for that. Pros: - This is GDPR compliant by default so there are no unnecessary settings to be tweaked or cookies to be displayed to the end-user. - Please is simple to set up and use. - It is fast both in the front end and backend. - Show just the right amount of analytical data that you need to act upon. Cons: - So far none. I hope the plugin continues to remain simple.
Read all 6 reviews

Contributors & Developers

“Koko Analytics” is open source software. The following people have contributed to this plugin.

Contributors

“Koko Analytics” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “Koko Analytics” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.3 – Dec 6, 2019

  • Fix link to settings page from plugins overview page.
  • Fix REST API URL’s when not using pretty permalinks.
  • Add support for tracking AMP-powered pages.
  • Add setting to disable cookie usage.
  • Handle network request errors on admin pages.
  • Return HTTP 500 error when unable to write to buffer file.
  • Simplify adding post title to post type statistics.
  • Extend browser support to include older browsers.
  • Handle filesystem errors in aggregation process.

1.0.2 – Nov 22, 2019

  • Add icons to datepickers to quickly cycle through selected date periods.
  • Add capabilities view_koko_analytics and manage_koko_analytics to control whether a user role can view or manage statistics.
  • Add setting to automatically delete data older than X months.
  • Add menu item to WP Admin Bar.
  • Update URL when date range changes so page can be refreshed or shared.
  • Update browser history with chosen date ranges.
  • Show total size of Koko Analytics’ database tables on settings page.
  • Improved animations when dashboard data updates.
  • Improved column type constraints for storing data.
  • Improved labels for chart x-axes.
  • Consistent ordering of posts and referrers tables.
  • Remove trailing ? character from referrer URL’s after query parameters are stripped.
  • Fix retrieving post title when post type is excluded from search.

1.0.1 – Nov 14, 2019

  • Add dashboard widget showing site visits over last 14 days.
  • Add widget for showing most viewed posts, pages or any other post type over a given period.
  • Add [koko_analytics_most_viewed_posts] shortcode.
  • Add pagination to tables showing top posts and top referrers.
  • Add settings link to plugin row on plugins overview page in WP admin.
  • Use ASCII for storing textual data. Fixes an issue with error message “specified key is too long” on some MySQL installations when the charset is utf8mb4.
  • Remove all data when uninstalling the plugin. Thanks to Santiago Degetau.
  • Improved memory usage when handling huge bursts of traffic.
  • Load tracking script asynchronously.
  • Styling improvements for the dashboard page.

1.0.0 – Nov 4, 2019

Initial release.