Title: QuantumCloud PageSpeed Friendly Analytics Tracking
Author: QuantumCloud
Published: <strong>2016 年 10 月 3 日</strong>
Last modified: 2022 年 11 月 3 日

---

搜索插件

![](https://ps.w.org/quantumcloud-pagespeed-friendly-analytics-tracking/assets/banner-
772x250.jpg?rev=1507278)

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

![](https://ps.w.org/quantumcloud-pagespeed-friendly-analytics-tracking/assets/icon-
256x256.png?rev=2092293)

# QuantumCloud PageSpeed Friendly Analytics Tracking

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

[下载](https://downloads.wordpress.org/plugin/quantumcloud-pagespeed-friendly-analytics-tracking.1.2.0.zip)

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

 [支持](https://wordpress.org/support/plugin/quantumcloud-pagespeed-friendly-analytics-tracking/)

## 描述

QuantumCloud PageSpeed Friendly Analytics Tracking for Google does the simple job
of adding tracking code to your WordPress website in all pages. But in addition 
to that it solves another annoying issue with google pagespeed. Have you ever tried
to increase your pagespeed score in google pagespeed insight? If you did, then you
most likely ran into an annoying issue as part of the last few issues to solve. 
Google’s pagespeed bot will report in the Leverage browser caching section that 
http://www.google-analytics.com/analytics.js has an expiry date set to only 2 hours
and thus prevent you from getting a Passed rule marker for the Leverage browser 
caching area.

Most of us cannot avoid using google analytics for statistics on our website. But
how can you control page expiry date on google server? You cannot. This is one of
those stupid things we have to deal with. There are complex work-arounds for this.
Like copying the analytics code to your own server and then run a cron job to update
the analytics javascript every few hours. These work-arounds are usually quite complex
and not recommended.

QuantumCloud’s Google Analytics Tracker Plugin for WordPress is Google pagespeed
friendly. The issue is overcome by not adding the analytics code in your source 
code when the plugin detects that it is google pagespeed bot that is requesting 
the page. The option is turned off by default. You can turn on the options should
you want a perfect score for Leverage browser caching.

Website: http://www.quantumcloud.com/
 Support Plugin Page: https://www.quantumcloud.
com/blog/wordpress/pagespeed-friendly-analytics-tracking-code-plugin-wordpress/

### Use

 1. After activating the plugin, add your analytics tracking id
 2. Select the option Increase Page Speed if you want to hide the analytics code from
    Google Pagespeed bot and improve your Google pagespeed score.

## 屏幕截图

 * [[
 * QuantumCloud Pagespeed Friendly Analytics Tracking settings page
 * [[
 * QuantumCloud Page Speed Leverage Browser Caching Failed
 * [[
 * QuantumCloud Page Speed Leverage Browser Caching Passed

## 安装

 1. Download the plugin zip file. Extract and upload quantumcloud-pagespeed-friendly-
    analytics-tracking in your wp-content/plugins folder.
 2. From the wp-admin panel go to plugins and activate “QuantumCloud PageSpeed Friendly
    Analytics Tracking”
 3. Go to Settings and Add your tracking code
 4. You are done.

## 常见问题

Please check: https://www.quantumcloud.com/blog/wordpress/google-pagespeed-friendly-
analytics-tracking-code-plugin-wordpress/

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「QuantumCloud PageSpeed Friendly Analytics Tracking」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/quantumcloud-pagespeed-friendly-analytics-tracking)

### 对开发感兴趣吗?

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

## 更新日志

1.2.0
 Removed allow url fopen requirement

#### 1.0

*Initial version of QuantumCloud PageSpeed Friendly Analytics Tracking

#### 1.0

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**4 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 5.4.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/quantumcloud-pagespeed-friendly-analytics-tracking/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[google analytics](https://cn.wordpress.org/plugins/tags/google-analytics/)
   [pagespeed](https://cn.wordpress.org/plugins/tags/pagespeed/)
 *  [高级视图](https://cn.wordpress.org/plugins/quantumcloud-pagespeed-friendly-analytics-tracking/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://www.quantumcloud.com)