Title: Koko Analytics &#8211; Privacy-Friendly WordPress Analytics
Author: Danny van Kooten
Published: <strong>2019 年 11 月 5 日</strong>
Last modified: 2026 年 5 月 11 日

---

搜索插件

![](https://ps.w.org/koko-analytics/assets/banner-772x250.png?rev=3394148)

![](https://ps.w.org/koko-analytics/assets/icon.svg?rev=2980600)

# Koko Analytics – Privacy-Friendly WordPress Analytics

 作者：[Danny van Kooten](https://profiles.wordpress.org/dvankooten/)

[下载](https://downloads.wordpress.org/plugin/koko-analytics.2.3.5.zip)

[实时预览](https://cn.wordpress.org/plugins/koko-analytics/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/koko-analytics/#description)
 * [评价](https://cn.wordpress.org/plugins/koko-analytics/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/koko-analytics/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/koko-analytics/#developers)

 [支持](https://wordpress.org/support/plugin/koko-analytics/)

## 描述

Koko Analytics gives you WordPress analytics inside your dashboard without sending
visitor data to an external service. See your pageviews, visitors, top pages, and
referrers while keeping analytics data on your own server.

It is built for privacy from the start. Koko Analytics can be used without cookies
and does not process or store personal data. That makes it suitable for GDPR, CCPA,
and PECR-friendly website statistics.

It is also built for speed. Koko Analytics adds less than 1 KB to your HTML, works
with cached pages, and bypasses WordPress for its optimized collection endpoint.

### Why choose Koko Analytics?

#### Privacy-friendly analytics

Koko Analytics is [privacy-friendly analytics](https://www.kokoanalytics.com/privacy-focused-wordpress-analytics/)
for WordPress. No personal data is processed or stored, all measurements are anonymous,
and nothing is shared with a third-party analytics platform.

#### Lightweight website statistics

Koko Analytics is [lightweight analytics](https://www.kokoanalytics.com/lightweight-wordpress-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.

#### A simple analytics dashboard

Koko Analytics is [simple analytics](https://www.kokoanalytics.com/simple-wordpress-analytics/).
There are no complicated reports to dig through. One dashboard page shows your important
website statistics.

#### Open source analytics

Koko Analytics is [open source analytics](https://www.kokoanalytics.com/open-source-wordpress-analytics/)
released under the GPL license, just like WordPress itself. It is built in the open,
so anyone can verify how it works. No company can lock you in or take your analytics
data away.

### 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.
 * **Custom event tracking** – Track outbound link clicks, contact form submissions,
   add-to-cart actions, and more.
 * **Email reports** – Receive periodic analytics reports in your inbox.
 * **Traffic spike alerts** – Get notified by email when traffic changes quickly.

[View the Koko Analytics live demo](https://www.kokoanalytics.com/koko-analytics-dashboard/)
or [see Koko Analytics Pro pricing](https://www.kokoanalytics.com/pricing/).

## 屏幕截图

 * [[
 * The WordPress analytics dashboard showing visitors, pageviews, top pages, and
   referrers.
 * [[
 * Website statistics for the past 2 weeks shown directly after logging in to WordPress.
 * [[
 * Tracking-related settings for privacy-friendly analytics and visitor statistics.
 * [[
 * Analytics dashboard settings for customizing the reports shown in WordPress admin.
 * [[
 * Custom event tracking for outbound links, form submissions, and other analytics
   events. [Pro]
 * [[
 * Email reports and traffic spike notifications for Koko Analytics Pro. [Pro]
 * [[
 * Data ownership tools for importing and exporting your WordPress analytics data.
 * [[
 * Most viewed posts widget for showing popular content on your site.
 * [[
 * Country, browser, operating system, and device statistics for deeper website 
   analytics. [Pro]

## 区块

该插件提供了 2 个区块.

 *   Pageview Count
 *   Most Viewed Pages

## 安装

 1. Go to Plugins > Add New in your WordPress dashboard.
 2. Search for Koko Analytics.
 3. Click Install Now, then Activate.
 4. To upload the plugin manually, download the ZIP from WordPress.org or GitHub, then
    go to Plugins > Add New > Upload Plugin.
 5. After activation, Koko Analytics starts collecting statistics right away. No configuration
    is required.
 6. View your website analytics under Dashboard > Analytics in WordPress admin.

## 常见问题

### 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.

### Does Koko Analytics use cookies?

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?](https://www.kokoanalytics.com/docs/faq/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.

If your question is not listed here, read the [Koko Analytics documentation](https://www.kokoanalytics.com/docs/).

## 评价

![](https://secure.gravatar.com/avatar/c76a3c7178d148ad127629129c097be61fd2e39b8e86f3798b21f352c3ff5715?
s=60&d=retro&r=g)

### 󠀁[Great! Highly recommended](https://wordpress.org/support/topic/great-highly-recommended-7/)󠁿

 [Eagleeye1000](https://profiles.wordpress.org/eagleeye1000/) 2026 年 5 月 10 日

Simple, but efficient for me.

![](https://secure.gravatar.com/avatar/fcff9857205d4823b736e6ebfe6d7878202d824ed1881c73231768dd68aec2b2?
s=60&d=retro&r=g)

### 󠀁[Excelent and simple](https://wordpress.org/support/topic/excelent-and-simple-3/)󠁿

 [bocha23](https://profiles.wordpress.org/bocha23/) 2026 年 5 月 9 日

Great product, very easy to use and much less intrusive than other analytics.

![](https://secure.gravatar.com/avatar/751b57ba588068163b6ad291ed142e3a1186a309d53e1bbb3037c12d3fb53dd5?
s=60&d=retro&r=g)

### 󠀁[Great and simple](https://wordpress.org/support/topic/great-and-simple-197/)󠁿

 [Nobb](https://profiles.wordpress.org/kurokoya9658/) 2026 年 5 月 3 日

Great and simple!

![](https://secure.gravatar.com/avatar/229efde7a015b0664e5e004fe0c7687e7a084cb7a09ecea0580f59a066bee7b3?
s=60&d=retro&r=g)

### 󠀁[Gets Better With Time](https://wordpress.org/support/topic/gets-better-with-time/)󠁿

 [Pavlo Malynevskyi](https://profiles.wordpress.org/malynevskyibc/) 2026 年 4 月
30 日 1 回复

I’ve been using this plugin for a while now, and it’s great to see it constantly
improving.

![](https://secure.gravatar.com/avatar/bc091e5821d6fa820dff7eb840f2ff450e889b7985ea592d28cd641191d838d6?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-17109/)󠁿

 [Fabian Umpierre](https://profiles.wordpress.org/fabianumpierre/) 2026 年 4 月 
29 日 1 回复

I was looking for a good and private friendly stats. I found here!

![](https://secure.gravatar.com/avatar/cd8421015b666459a34b866243b6cd43d4ae234a3760d3b75d2ae91196ab559c?
s=60&d=retro&r=g)

### 󠀁[gGeat detail](https://wordpress.org/support/topic/ggeat-detail/)󠁿

 [Malaser](https://profiles.wordpress.org/malaser/) 2026 年 4 月 25 日

Strangely would expect this and Jetpak analytics to closely agree, but they don’t.
I believe this the more accurate app.

 [ 阅读所有233条评价 ](https://wordpress.org/support/plugin/koko-analytics/reviews/)

## 贡献者及开发者

「Koko Analytics – Privacy-Friendly WordPress Analytics」是开源软件。 以下人员对
此插件做出了贡献。

贡献者

 *   [ Danny van Kooten ](https://profiles.wordpress.org/dvankooten/)
 *   [ ibericode ](https://profiles.wordpress.org/ibericode/)
 *   [ Koko Analytics ](https://profiles.wordpress.org/kokoanalytics/)

「Koko Analytics – Privacy-Friendly WordPress Analytics」插件已被翻译至 21 种本地
化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/koko-analytics/contributors)
为本插件所做的贡献。

[帮助将「Koko Analytics – Privacy-Friendly WordPress Analytics」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/koko-analytics)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/koko-analytics/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/koko-analytics/)，或通过[RSS](https://plugins.trac.wordpress.org/log/koko-analytics/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/koko-analytics/)。

## 更新日志

#### 2.3.5

 * 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

 * 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

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

#### 2.3.2

 * 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

 * 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.

[View the full changelog on GitHub](https://github.com/ibericode/koko-analytics/blob/main/CHANGELOG.md)

## 额外信息

 *  版本 **2.3.5**
 *  最后更新：**10 小时前**
 *  活跃安装数量 **60,000+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [Catalan](https://ca.wordpress.org/plugins/koko-analytics/) 、 [Chinese (Taiwan)](https://tw.wordpress.org/plugins/koko-analytics/)、
   [Croatian](https://hr.wordpress.org/plugins/koko-analytics/) 、 [Danish](https://da.wordpress.org/plugins/koko-analytics/)、
   [Dutch](https://nl.wordpress.org/plugins/koko-analytics/) 、 [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/koko-analytics/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/koko-analytics/) 、 [English (US)](https://wordpress.org/plugins/koko-analytics/)、
   [Finnish](https://fi.wordpress.org/plugins/koko-analytics/) 、 [German](https://de.wordpress.org/plugins/koko-analytics/)、
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/koko-analytics/) 、
   [Greek](https://el.wordpress.org/plugins/koko-analytics/) 、 [Italian](https://it.wordpress.org/plugins/koko-analytics/)、
   [Japanese](https://ja.wordpress.org/plugins/koko-analytics/) 、 [Korean](https://ko.wordpress.org/plugins/koko-analytics/)、
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/koko-analytics/) 、 
   [Russian](https://ru.wordpress.org/plugins/koko-analytics/) 、 [Spanish (Costa Rica)](https://es-cr.wordpress.org/plugins/koko-analytics/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/koko-analytics/) 、 [Spanish (Spain)](https://es.wordpress.org/plugins/koko-analytics/)、
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/koko-analytics/) 和 [Swedish](https://sv.wordpress.org/plugins/koko-analytics/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/koko-analytics)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[google analytics](https://cn.wordpress.org/plugins/tags/google-analytics/)
   [privacy](https://cn.wordpress.org/plugins/tags/privacy/)[statistics](https://cn.wordpress.org/plugins/tags/statistics/)
   [website statistics](https://cn.wordpress.org/plugins/tags/website-statistics/)
 *  [高级视图](https://cn.wordpress.org/plugins/koko-analytics/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  229 条 5 星评价     ](https://wordpress.org/support/plugin/koko-analytics/reviews/?filter=5)
 *  [  3 条 4 星评价     ](https://wordpress.org/support/plugin/koko-analytics/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/koko-analytics/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/koko-analytics/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/koko-analytics/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/koko-analytics/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/koko-analytics/reviews/)

## 贡献者

 *   [ Danny van Kooten ](https://profiles.wordpress.org/dvankooten/)
 *   [ ibericode ](https://profiles.wordpress.org/ibericode/)
 *   [ Koko Analytics ](https://profiles.wordpress.org/kokoanalytics/)

## 支持

最近两个月解决的问题：

     总计 12，已解决 11

 [查看支持论坛](https://wordpress.org/support/plugin/koko-analytics/)