Title: Webnalytics — Privacy-Friendly On-site Analytics
Author: webnalytics
Published: <strong>2026 年 2 月 19 日</strong>
Last modified: 2026 年 2 月 19 日

---

搜索插件

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

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

# Webnalytics — Privacy-Friendly On-site Analytics

 作者：[webnalytics](https://profiles.wordpress.org/webnalytics/)

[下载](https://downloads.wordpress.org/plugin/webnalytics.3.4.26.4.zip)

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

 [支持](https://wordpress.org/support/plugin/webnalytics/)

## 描述

Webnalytics — Privacy-Friendly On-site Analytics provides an on-site analytics dashboard
inside WordPress. It stores analytics data in your WordPress database and displays
reports in the admin area.

Features:

 * Pages, Top Landing Pages, and Real-Time views
 * Referrers, Devices, Geographic, and Search Terms
 * WooCommerce funnels (view product  add to cart  purchase)
 * Heatmaps (click density + element % mode)
 * Optional REST export endpoints secured by a local Developer Token

This plugin does not require an external account or service to work.

### Privacy

Webnalytics stores analytics data locally in your WordPress database to generate
reports.

Data collected can include:

 * Page paths (URLs) visited
 * Referrer domains
 * Device type, browser, and OS (derived from user agent)
 * Approximate location fields if configured (country/city)
 * Aggregated funnel steps for WooCommerce
 * Heatmap click coordinates (when heatmap tracking is enabled)

Webnalytics does not require an external account. This build does not transmit analytics
data to third parties.

Site owners are responsible for complying with privacy laws applicable to their 
site (e.g., GDPR/CCPA), including obtaining consent if required.

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/webnalytics/`, or install via 
    the WordPress Plugins screen.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Go to **Webnalytics  Settings** to configure tracking and retention.

## 常见问题

### Does Webnalytics send data to a third-party service?

No. In this WordPress.org build, Webnalytics runs locally in your WordPress installation
and does not send analytics data to any external service.

### Can I disable heatmap tracking?

Yes. Go to **Webnalytics  Settings** and disable click tracking.

### Can I keep data on uninstall?

Yes. Add this line to `wp-config.php` before uninstalling:
 define(‘WEBNALYTICS_KEEP_DATA’,
true);

## 评价

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

### 󠀁[Lightweight and useful analytics for WordPress](https://wordpress.org/support/topic/lightweight-and-useful-analytics-for-wordpress/)󠁿

 [zmhomesupplies](https://profiles.wordpress.org/zmhomesupplies/) 2026 年 3 月 6
日

We started using Webnalytics for our WooCommerce store (ZM Home Supplies) and have
been impressed with how simple and clean the analytics dashboard is. Setup took 
only a few minutes, and it immediately started tracking visitor data without affecting
our site performance. The reports are straightforward and much easier to interpret
compared to traditional analytics tools. We also shared a few feature suggestions
with the Webnalytics team, and their support was responsive and open to feedback,
which is always great to see from plugin developers. If you want a privacy-focused
analytics plugin that runs directly inside WordPress, Webnalytics is definitely 
worth trying.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/webnalytics/reviews/)

## 贡献者及开发者

「Webnalytics — Privacy-Friendly On-site Analytics」是开源软件。 以下人员对此插件
做出了贡献。

贡献者

 *   [ webnalytics ](https://profiles.wordpress.org/webnalytics/)

[帮助将「Webnalytics — Privacy-Friendly On-site Analytics」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/webnalytics)

### 对开发感兴趣吗?

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

## 更新日志

#### 3.4.25

 * Heatmap: Raw interaction capture now posts as structured fields (WAF-friendly)
   with JSON fallback.
 * Heatmap: More lenient page path mapping (prefers runtime location path over cached
   localization).

#### 3.4.24

 * Heatmap: Interaction-based sampling (tap + movement) with beacon transport for
   more reliable capture (especially on mobile).

#### 3.4.23

 * Heatmap: Improve click capture on touch devices (iOS/Android) by correctly reading
   touch coordinates in capture-phase handler.

#### 3.4.15

 * Fix: REST export token permission callback (prevents fatal error when calling/
   wp-json/webnalytics/v3/export/*).

#### 3.4.14

 * Fix: Heatmap click capture works for logged-out visitors (admin-ajax nopriv).

#### 3.4.12

 * Fix: Prevent duplicate admin menus/widgets when multiple plugin copies are installed.

#### 3.4.10

 * Heatmap: URL field syncs with iframe navigation.
 * Core stability improvements.

## 额外信息

 *  版本 **3.4.26.4**
 *  最后更新：**3 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/webnalytics/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[dashboard](https://cn.wordpress.org/plugins/tags/dashboard/)
   [heatmap](https://cn.wordpress.org/plugins/tags/heatmap/)[privacy](https://cn.wordpress.org/plugins/tags/privacy/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/webnalytics/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ webnalytics ](https://profiles.wordpress.org/webnalytics/)

## 支持

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

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