Title: Remove Google Analytics (MonsterInsights) comments
Author: Mitch
Published: <strong>30 Avost 2016</strong>
Last modified: 01 November 2016

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Remove Google Analytics (MonsterInsights) comments

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

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

 * [Details](https://lmo.wordpress.org/plugins/remove-google-analytics-comments/#description)
 * [Reviews](https://lmo.wordpress.org/plugins/remove-google-analytics-comments/#reviews)
 *  [Installation](https://lmo.wordpress.org/plugins/remove-google-analytics-comments/#installation)
 * [Development](https://lmo.wordpress.org/plugins/remove-google-analytics-comments/#developers)

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

## Description

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/)!

## Installation

 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.

## FAQ

  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.

## Reviews

![](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/) 23 Masg 2017

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 ==

 [ Read all 1 review ](https://wordpress.org/support/plugin/remove-google-analytics-comments/reviews/)

## Contributors & Developers

“Remove Google Analytics (MonsterInsights) comments” is open source software. The
following people have contributed to this plugin.

Contributors

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

[Translate “Remove Google Analytics (MonsterInsights) comments” into your language.](https://translate.wordpress.org/projects/wp-plugins/remove-google-analytics-comments)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/remove-google-analytics-comments/),
check out the [SVN repository](https://plugins.svn.wordpress.org/remove-google-analytics-comments/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/remove-google-analytics-comments/)
by [RSS](https://plugins.trac.wordpress.org/log/remove-google-analytics-comments/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **1.0.1**
 *  Last updated **9 years ago**
 *  Active installations **100+**
 *  WordPress version ** 1.2.0 or higher **
 *  Tested up to **4.7.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/remove-google-analytics-comments/)
 * Tags
 * [analytics](https://lmo.wordpress.org/plugins/tags/analytics/)[google](https://lmo.wordpress.org/plugins/tags/google/)
   [insights](https://lmo.wordpress.org/plugins/tags/insights/)[monster](https://lmo.wordpress.org/plugins/tags/monster/)
 *  [Advanced View](https://lmo.wordpress.org/plugins/remove-google-analytics-comments/advanced/)

## Ratings

 5 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/remove-google-analytics-comments/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VYPRGME8QELC)