Skip to content
Privacy-friendly analytics for your WordPress site.
PHP JavaScript CSS
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/src be explicit in chart configuration Nov 18, 2019
data add htaccess file to data dir Nov 3, 2019
languages updated languages Nov 14, 2019
migrations add views/ and migrations/ dir to codesniffer config Nov 13, 2019
src improve seed function Nov 18, 2019
tests add [koko_analytics_most_viewed_posts] shortcode Nov 13, 2019
views minor styling adjustments Nov 14, 2019
.babelrc add babel with JSX transforms for mithril & cut bundle size in half b… Oct 28, 2019
.editorconfig add editorconfig file Nov 18, 2019
.gitignore add .idea to gitignore Nov 18, 2019
.travis.yml add phpcs sniffer Nov 11, 2019 v1.0.1 Nov 14, 2019
LICENSE add license Oct 29, 2019 link to translation project Nov 12, 2019
composer.json only check for errors in ci codestyle check Nov 12, 2019
koko-analytics-collect.php when querying posts, explicitly pass all post types vs post_type=any … Nov 18, 2019
koko-analytics.php run main plugin file through phpcs too Nov 14, 2019
package-lock.json update readme Nov 11, 2019
phpcs.xml run main plugin file through phpcs too Nov 14, 2019
readme.txt v1.0.1 Nov 14, 2019
uninstall.php add some more info to comments and adjusted some lines for better rea… Nov 13, 2019
webpack.config.js add dashboard widget showing site visits over last 14 days Nov 13, 2019

Koko Analytics

Build Status Tested WordPress version rating License: GPL v3

Koko Analytics is an open-source and privacy-friendly analytics plugin for WordPress.

Screenshot of the Koko Analytics dashboard


  • No external services. Data 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.
  • Plug and play. Just install and activate the plugin and stats will automatically be recorded.
  • Open-source (GPLv3 licensed).

How to install

To run the latest development version of the plugin, take the following steps.

First, clone the repository using Git in your /wp-content/plugins/ directory

git clone

Create the autoloader using Composer.

composer install

Install client-side dependencies using NPM

npm install

Build the plugin assets by issuing the following command:

npm run build


Stats will be collected right away after you install and activate the plugin. You can view your stats on the Dashboard > Analytics page.


You can help translate Koko Analytics into your language using your account.


GNU General Public License v3.0

You can’t perform that action at this time.