Title: Remove Google Analytics (MonsterInsights) comments
Author: Mitch
Published: <strong>2016 年 8 月 30 日</strong>
Last modified: 2016 年 11 月 1 日

---

搜索插件

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

![](https://ps.w.org/remove-google-analytics-comments/assets/icon-256x256.png?rev
=1486536)

# Remove Google Analytics (MonsterInsights) comments

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

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

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

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

## 描述

A light-weight plugin which will remove the advertisement HTML comments coming from
the Google Analytics plugin created by MonsterInsights, such as:

    ```
    <!-- This site uses the Google Analytics by MonsterInsights plugin -->
    ```

This is a must-have plugin if you have Google Analytics by MonsterInsights installed.

#### Note

This plugin requires [Google Analytics by MonsterInsights](https://wordpress.org/plugins/google-analytics-for-wordpress/).
If you do not have Google Analytics by MonsterInsights activated, this plugin will
not work. Also compatible with the pro version of the mentioned plugin.

#### Like this plugin?

If you like this plugin, make sure to rate it 5 stars. Also check out [Remove Yoast SEO comments](https://wordpress.org/plugins/remove-yoast-seo-comments/)!

## 安装

 1. Upload the ‘remove-google-analytics-comments’ folder to the /wp-content/plugins/
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. All done! The HTML comments are now removed from your front-end source code.

## 常见问题

  When Google Analytics by MonsterInsights updates their plugin, will the HTML comments
stay removed?

Yes, they will stay removed.

  Does this plugin add any configuration options?

No, activate the plugin and you are done! This plugin will not add any extra tables
or such to your database.

  Why does this plugin exist?

The HTML comments coming from the Google Analytics by MonsterInsights plugin give
out information such as plugin version and type. When there is a exploit in the 
Google Analytics by MonsterInsights plugin, hackers may take advantage of that exploit
to hack your website. A good reason to remove them.

  Will this plugin modify any of my Google Analytics by MonsterInsights plugin files?

No, this plugin will not modify any of your Google Analytics by MonsterInsights 
plugin files.

## 评价

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

### 󠀁[Good security plugin](https://wordpress.org/support/topic/good-security-plugin-9/)󠁿

 [jgwinner](https://profiles.wordpress.org/jgwinner/) 2017 年 5 月 23 日

Basic plug-in, works as advertised. It’s a good security thing to not let people
know what versions you are using, in case there is an exploit; after having said
that, you should patch your servers ANYWAY to avoid exploits taking hold. Even if
the information about the version is not exposed on your web site, any exploits 
IN that version WOULD be, so do the patching. This plugin isn’t perfect, however,
as I did still find the following variable in the code: var monsterinsights_frontend…
so, anyone looking at source would probably know you’re using MonsterInsights … 
== John ==

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/remove-google-analytics-comments/reviews/)

## 贡献者及开发者

「Remove Google Analytics (MonsterInsights) comments」是开源软件。 以下人员对此插
件做出了贡献。

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.1

 * Fixed an security vulnerability regarding `target="_blank"` ([read more](https://core.trac.wordpress.org/ticket/36809))
 * Added support for WordPress 4.7

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 1.2.0 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/remove-google-analytics-comments/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[google](https://cn.wordpress.org/plugins/tags/google/)
   [insights](https://cn.wordpress.org/plugins/tags/insights/)[monster](https://cn.wordpress.org/plugins/tags/monster/)
 *  [高级视图](https://cn.wordpress.org/plugins/remove-google-analytics-comments/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VYPRGME8QELC)