close
WordPress.org

Plugin Directory

Koko Analytics – 注重隱私權的 WordPress 網站統計資料外掛

BERJAYA
BERJAYA

Koko Analytics – 注重隱私權的 WordPress 網站統計資料外掛

外掛說明

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.

使用 Koko Analytics 的原因

Privacy-friendly analytics

Koko Analytics is privacy-friendly 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. 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. There are no complicated reports to dig through. One dashboard page shows your important website statistics.

開放原始碼網站分析功能

Koko Analytics is open source 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.

外掛功能

  • 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.
  • 匯入過去的統計資料:網站管理員可以匯入 Jetpack Stats、Plausible 或 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 or see Koko Analytics Pro pricing.

螢幕擷圖

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

適用於區塊編輯器

這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Pageview Count
  • Most Viewed Pages

安裝方式

  1. 前往 WordPress 控制台的 [外掛]→[安裝外掛]。
  2. 搜尋「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. 網站管理員可以前往 WordPress 管理後台→[控制台]→[網站統計] 查看網站統計資料。

常見問題集

Koko Analytics 是 WordPress 網站的統計資料外掛嗎?

Yes. Koko Analytics is a WordPress analytics plugin that shows pageviews, visitors, top pages, and referrers inside your WordPress dashboard.

Koko Analytics 是否會使用 Cookie?

Cookies are optional in Koko Analytics. You can use the plugin without cookies for privacy-friendly website statistics. Read more in the guide: Koko Analytics 是否會使用 Cookie?

使用 Koko Analytics 是否會降低網站的速度?

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.

Koko Analytics 是否重視隱私權?

Yes. Koko Analytics does not process or store personal data, does not use third-party analytics services, and only stores aggregated counts.

Koko Analytics 是否為開放原始碼?

Yes. Koko Analytics is open source analytics released under the GPL license, just like WordPress itself. Anyone can inspect how it works.

使用 Koko Analytics 需要註冊帳號嗎?

No account is needed. Koko Analytics runs on your own WordPress site, and statistics start recording after activation.

Koko Analytics 是否能搭配頁面快取使用?

是。Koko Analytics 與多種類型快取提供的頁面相容。

If your question is not listed here, read the Koko Analytics documentation.

使用者評論

BERJAYA
2026 年 5 月 26 日
When I was researching an Analytics tool, I downloaded several and Koko was by far the best. I deleted all others right away and stuck with Koko for all my websites. highly recommend.
閱讀全部 236 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Koko Analytics – 注重隱私權的 WordPress 網站統計資料外掛〉的開發相關工作。

參與者

〈Koko Analytics – 注重隱私權的 WordPress 網站統計資料外掛〉外掛目前已有 21 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Koko Analytics – 注重隱私權的 WordPress 網站統計資料外掛〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.3.7

  • tracking: include UTM parameters in pageview tracking requests so integrations can access campaign data.
  • endpoint: harden pageview and event request validation by checking required parameters and accepted types.
  • endpoint: unslash request data when running inside WordPress.
  • endpoint: use exact buffer filename matching when finding existing buffer files.
  • endpoint: use file locking when writing to buffer and session files.
  • endpoint: handle missing upload or sessions directories more defensively.
  • dashboard: fix saving component order when the page contains non-sortable dashboard columns.
  • dashboard: keep an explicit group parameter when switching chart grouping back to days.
  • docs: add campaign parameters to in-plugin links to Koko Analytics documentation and Pro pages.

2.3.6

  • dashboard: group top pages by post ID when available, so changing a post slug no longer splits its analytics in the dashboard.
  • dashboard: resolve titles and permalinks dynamically for posts and pages in the top pages list.
  • dashboard: page-specific totals and charts now use post ID filters when available.
  • tracking: ignore query parameters when pretty permalinks are enabled.
  • tracking: ensure normalized paths always start with a leading slash.
  • data export: improve export reliability by casting numeric values and handling missing tables defensively.
  • settings: show database usage and table sizes on the data settings page.
  • settings: add current and latest database migration version to debug info.
  • release: exclude development-only files from the WordPress.org package.

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.

View the full changelog on GitHub