Title: Sitewide Google Analytics
Author: coderguy
Published: <strong>2012 年 5 月 17 日</strong>
Last modified: 2012 年 10 月 30 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/sitewide-google-analytics.svg)

# Sitewide Google Analytics

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

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

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

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

## 描述

This plugin adds Google Analytics tracking code to all WordPress pages. If multisite/
network mode is enabled, this
 tracking code will be the same on all sites, which
was the main purpose for authoring it.

It’s very basic.

This plugin includes a settings page that allows users to enable or disable the 
tracking code, enter their account ID,
 and provide a single domain, which is used
for aggregating statistics across multiple sub-domains. For WordPress Network installations,
this page is located under the Settings menu of the Network administration area.
For normal WordPress installations, this page is located under the Settings menu
of the standard administration area.

I needed this functionality but couldn’t find it elsewhere, so I decided to write
a plugin. I’m totally open to improving
 this plugin as well so please contact me
with feature requests or bug reports.

## 屏幕截图

 * [[
 * This is the administrative section of Sitewide Google Analytics.

## 安装

 1. Upload the `sitewide-google-analytics` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the `Plugins` menu in WordPress.
 3. Go to the Settings page, add your Analytics token/key, and check the enable box.
    Click the Save button.

## 常见问题

  What is the Domain field?

The Domain field is for capturing statistics on multiple sub-domains. Please refer
to Google’s documentation
 for more information. https://developers.google.com/analytics/
devguides/collection/gajs/gaTrackingSite#yourDomainName

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.2

 * Forcing wordpress to update by updating stable tag in the header above.

#### 1.2.1

 * Added upgrade information to this log.

#### 1.2

 * update_option and get_option changed to update_site_option and get_site_option.

#### 1.1

 * Added templates (previous version is non-working).

#### 1.0

 * Initial submission.

## 额外信息

 *  版本 **0**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/sitewide-google-analytics/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[google](https://cn.wordpress.org/plugins/tags/google/)
   [multisite](https://cn.wordpress.org/plugins/tags/multisite/)[network](https://cn.wordpress.org/plugins/tags/network/)
   [sitewide](https://cn.wordpress.org/plugins/tags/sitewide/)
 *  [高级视图](https://cn.wordpress.org/plugins/sitewide-google-analytics/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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