Title: Zero Analytics
Author: Web Guy
Published: <strong>2026 年 6 月 4 日</strong>
Last modified: 2026 年 6 月 4 日

---

搜索插件

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

![](https://ps.w.org/zeroa-analytics/assets/icon-256x256.png?rev=3560177)

# Zero Analytics

 作者：[Web Guy](https://profiles.wordpress.org/webguyio/)

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

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

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

## 描述

[💬 Ask Question](https://github.com/webguyio/zero-analytics/issues) | [📧 Email Me](https://cn.wordpress.org/plugins/zeroa-analytics/webguywork@gmail.com?output_format=md)

Zero Analytics gives you the traffic insights that matter: unique visitors, pageviews,
top pages, referrer sources, devices, and countries (without ever collecting personal
data).

No one ever said tracking people HAD to be creepy. By definition, most analytics
tools are in fact super creepy (and in many cases, actually illegal), but it’s also
possible to simply want to know how much monthly traffic you get, what content people
like, and what countries you’re popular in, generally, without violating personal
data.

**Privacy by Design**

 * No cookies, no local storage, no fingerprinting
 * IP addresses are never stored
 * Unique visitor detection uses a salted SHA-256 hash that rotates and is deleted
   daily
 * Referrers are classified into known categories only (raw referrer URLs are never
   stored)
 * Query strings are stripped from all recorded URLs
 * Respects Global Privacy Control (visitors who opt out are not tracked)
 * No external services or third-party calls
 * No consent banner required (GDPR, CCPA, PECR compliant)

**Features**

 * Unique visitors, pageviews, errors, and bot traffic summary
 * Top pages ranked by pageviews
 * Referrer breakdown: search engines, social platforms, internal, and direct
 * Country tracking via CDN/server headers (Cloudflare, mod_geoip, etc.)
 * Device type detection (desktop, mobile, tablet)
 * Bot traffic tracked separately and excluded from main stats
 * Date range filters: last 7, 30, 90 days, and all time
 * Dashboard widget with 30-day summary
 * Lightweight tracking pixel
 * Compatible with all caching configurations including full-page cache

## 安装

 1. Upload the `zeroa-analytics` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Visit _Dashboard > Analytics_ in your WordPress admin menu to view your stats.

No configuration is required. Analytics begins collecting immediately on activation.

**Country tracking:** Country data is collected automatically if your server or 
CDN provides a country header (e.g. Cloudflare’s `CF-IPCountry`, Apache’s `GEOIP_COUNTRY_CODE`,
or similar). If no such header is available, country will show as “Unavailable”.

## 常见问题

### How accurate are the stats?

No analytics tool is 100% accurate. Even Google Analytics can undercount by 20-40%
on tech-savvy audiences due to ad blockers and consent banner declines. Zero Analytics
captures traffic that cookie-based tools miss entirely, but some visitors will never
be counted regardless of which tool you use.

What the stats are reliably good for is identifying signals: which pages are most
popular, where your traffic comes from, which referrers are sending visitors, and
how trends change over time. These relative patterns are consistent and actionable
even when the overall numbers aren’t perfect.

### Why aren’t my visits being recorded?

A few common reasons: you may be logged in as an editor or admin (test logged out
in a private window); your browser may have Global Privacy Control enabled (Firefox,
Brave, and some privacy add-ons have this feature); or your IP has already been 
counted as unique today and revisits reset at midnight UTC.

### Do I need a cookie consent banner?

No. Zero Analytics does not use cookies, localStorage, or any client-side storage.
No personal data is processed or stored. You do not need a consent banner for this
plugin under GDPR, CCPA, or PECR.

### How are unique visitors counted without cookies?

A temporary SHA-256 hash is generated from a daily rotating salt and the visitor’s
IP. This hash is used only to deduplicate requests within a single day and is never
stored in the database. The salt is deleted and replaced at midnight each day, making
cross-day tracking impossible.

### Is any personal data ever collected?

No. The only time anything resembling personal data is touched is during unique 
visitor detection, where a visitor’s IP is briefly combined with a daily-rotating
salt and your site URL to produce a one-way SHA-256 hash. This hash cannot be reversed,
decoded, or used to identify anyone. It is stored temporarily as a transient and
expires at midnight. Neither the IP nor the hash ever touch the analytics database.
Site administrators cannot see visitor IPs or any other personal data, even if they
wanted to.

### Why is my country showing as “Unavailable”?

Country detection relies on your server or CDN injecting a country code header. 
This works automatically on Cloudflare, and on servers running Apache with mod_geoip.
If neither is present, the country cannot be determined without storing IP addresses,
which would compromise privacy.

### Are bots tracked?

Yes, but they are excluded from all main statistics. Bot traffic is recorded separately
and visible in the Bots section at the bottom of the Analytics page.

### Does this plugin work with caching plugins?

Yes. Zero Analytics uses a lightweight tracking pixel that fires on every page load.
Error pages (404s, 500s) are additionally captured server-side for full status code
context.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Zero Analytics」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Web Guy ](https://profiles.wordpress.org/webguyio/)

[帮助将「Zero Analytics」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/zeroa-analytics)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.1

 * New

## 额外信息

 *  版本 **0.1**
 *  最后更新：**1 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/zeroa-analytics/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[CCPA](https://cn.wordpress.org/plugins/tags/ccpa/)
   [GDPR](https://cn.wordpress.org/plugins/tags/gdpr/)[privacy](https://cn.wordpress.org/plugins/tags/privacy/)
   [statistics](https://cn.wordpress.org/plugins/tags/statistics/)
 *  [高级视图](https://cn.wordpress.org/plugins/zeroa-analytics/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Web Guy ](https://profiles.wordpress.org/webguyio/)

## 支持

有话要说吗？是否需要帮助？

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://webguy.io/donate)