Title: CellarWeb Server Side Analytics
Author: Rick Hellewell
Published: <strong>2022 年 3 月 24 日</strong>
Last modified: 2023 年 4 月 6 日

---

搜索插件

![](https://ps.w.org/cellarweb-server-side-analytics/assets/banner-772x250.png?rev
=2699197)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/cellarweb-server-side-analytics/assets/icon-256x256.png?rev
=2699197)

# CellarWeb Server Side Analytics

 作者：[Rick Hellewell](https://profiles.wordpress.org/rhellewellgmailcom/)

[下载](https://downloads.wordpress.org/plugin/cellarweb-server-side-analytics.1.02.zip)

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

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

## 描述

Google Analytics (GA) allows you to see what your visitors are doing on your site.
The common installation is to run some JavaScript code in the client’s browser that
reports back to GA. The problem with that is many ad-blockers will block that client-
side (browser) action, resulting in incomplete GA data.

The Server Side Analytics plugin does all the work on your server. So GA is used
on all site visits – even visitors using ad blocking. That gives you more accurate
GA data.

Your site visitor’s IP address is anonymized (the last ‘octet’ is removed), so only
the visitor’s city is known. The plugin only uses the client-side WordPress session
ID, so complies with basic GDPR privacy, as long as your site has an acknowledged
cookie policy. There is nothing additionally stored on the client side, so visitor
privacy for this plugin and the generated analytics is assured.

All you need is a GA account – start here: https://www.google.com/analytics/ . Note
that you will need to set up a “UA” type account. Help starts here: https://support.
google.com/analytics/answer/9306384?hl=en Make sure you set up a “Universal Analytics”
account – which will result in a UA-xxxxxxx-1 value to use in the plugin.

If you use Google Analytics, then you should be aware of their privacy policy, which
could apply to your use of GA; see it here https://www.google.com/analytics/terms/
us.html . You may also need a cookie policy and acknowledgement displayed on your
site.

We suggest that you consult with your legal advisor for specific methods and messages
needed for GDPR compliance on your site. We provide no warranty or guarantee of 
GDPR compliance. We are not providing any legal advice. We are not responsible in
any way for your use of our suggested GDPR solution. Your mileage may vary. Objects
in mirror are closer than you expect. All aspirin is alike. Professional driver 
on a closed course. Your mileage may vary.

### Privacy

This plugin does not save any personal information on your server. It will store
cookies on your visitor’s browsers. If you have enabled Google Analytics, it will
also store a randomly-generated ID value as a cookie; there is no personal information
associated with that cookie. The plugin does not share information with others.

## 屏幕截图

 * [[
 * Shows the Settings page.

## 安装

This section describes how to install the plugin and get it working.

 1. Download the zip file, uncompress, then upload to `/wp-content/plugins/` directory.
    Or install via the Add Plugin page.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Change settings in Settings, ‘Server Side Analytics’ to your requirements.

 * Note: do a “Save” on the Server Side Analytics page once after an upgrade to 
   ensure all is well; your settings will be preserved.

## 常见问题

### Do I have to do anything special to enable this?

 * Set up a Google Analytics account and property. Use the Advanced options link
   to set up ‘Create a Universal Analytics property’. Make a note of the Tracking
   ID (the “UA” value). Here’s where to start: https://www.google.com/analytics/.
    - On the plugin settings screen, enter your Google Analytics (GA) ID. Make sure
      it is a “UA-XXXXXXXX-X” format. It is not validated, so make sure it is correct.
    - Then Save the settings.
    - Go to your GA analytics page, and select Real-Time.
    - Go to any page of your site in another tab.
    - Wait about 15 seconds for the page to show up in the Realtime screen of GA.

### What data is sent to GA ?

Assuming that you enabled this feature by entering your GA User ID on the Settings
page, the plugin will send some basic information to your GA account: page name/
URL, an anonymous IP address (last octect is zeroed), and a unique client ID value(
to identify all the pages that person visits; the PHP Session value is used), and
the referring page.

This should be all the info for basic analytics. And the data will be sent for all
visitors, including those with ad blockers.

### Do you send any Personally Identifiable Information?

Nope. Just the values detailed above.

### Do you store any cookies in the visitor’s browser?

Nope.

### Why can’t I use the GA JavaScript code? +

Well, you could. But many ad blockers block that code, in which case the analytics
will not be processed. Our plugin does all the work on the server side, so the browser
doesn’t see any tracking data in our GA process.

### I got it all working, but it seems like there is duplicate data on my GA screen. Why?

It’s probable that you have another plugin or process that is sending the GA data.
You should only have one. Disable one of the processes (even ours) so that only 
one set of GA data is sent.

### What if something doesn’t work?

First thing to do is to make sure you have entered the correct “UA” number. If that
is incorrect, you won’t see any stats on the Realtime page when you access a page
on your site.

If you still have problems, contact us on the plugin Support page.

### I got an idea for a new feature!

Use the Support page to send us new ideas.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Rick Hellewell ](https://profiles.wordpress.org/rhellewellgmailcom/)

[帮助将「CellarWeb Server Side Analytics」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/cellarweb-server-side-analytics)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.01 (26 Mar 2022)

 * Adjusted required PHP version to 7.2
 * Fixed missing fuction error.

#### 1.00 (24 Mar 2022) – Initial Release

## 额外信息

 *  版本 **1.02**
 *  最后更新：**3 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.9.6 或更高版本 **
 *  已测试的最高版本为 **6.2.9**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/cellarweb-server-side-analytics/)
 * 标签
 * [GDPR](https://cn.wordpress.org/plugins/tags/gdpr/)[google analytics](https://cn.wordpress.org/plugins/tags/google-analytics/)
   [privacy](https://cn.wordpress.org/plugins/tags/privacy/)
 *  [高级视图](https://cn.wordpress.org/plugins/cellarweb-server-side-analytics/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Rick Hellewell ](https://profiles.wordpress.org/rhellewellgmailcom/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.cellarweb.com)