Home

Awesome

Koko Analytics

License: GPLv3 Active installs Rating Lighthouse performance score

Koko Analytics is a simple, open-source, lightweight (< 850 bytes) and privacy-friendly website analytics plugin for WordPress.

It aims to be a simple replacement for Google Analytics that respects the privacy of your visitors. Nothing visitor specific is tracked, only aggregated counts.

You can view a live demo of Koko Analytics here.

Features

<figure> <img src="https://raw.githubusercontent.com/ibericode/koko-analytics/main/assets/src/img/screenshot-1-830x447.png" alt="Screenshot of the Koko Analytics dashboard" loading="lazy" width="830" height="447" /> <figcaption>Screenshot of the Koko Analytics dashboard. You can <a href="https://www.kokoanalytics.com/?koko-analytics-dashboard">view a live demo here</a>.</figcaption> </figure>

Installation

Requirements

Note that these are minimum required versions. We recommend running an officially supported version of PHP.

Installing latest stable release

You can download a pre-packaged version of Koko Analytics here:

After extracting this package into your /wp-content/plugins/ directory the plugin is ready to be used right away.

Installing latest development version

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

First, clone or download the repository into your /wp-content/plugins/ directory

git clone git@github.com:ibericode/koko-analytics.git

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

Usage

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

Help and documentation

The Koko Analytics knowledge base contains general help articles on effectively using the plugin.

We also have a repository of sample code snippets to help you modify or extend the plugin's default behavior.

Contributing

You can contribute to Koko Analytics in many different ways. For example:

License

GNU General Public License v3.0