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.

Google Analytics Injector


Google Analytics Injector is a plugin which makes it easy for you to start collecting stats with Google Analytics on your WordPress blog.
After the installation of the plugin you just click on the “Google Analytics Injector Settings” in the “Settings” menu and add your Google Tracking code (eg. UA-1111111-1) in the admin form.

To be sure the tracking code is not used on the wrong site you could restrict the usage by specifying the site url. This plugin also exclude the visits from the Administrator if he/she is currently logged in.


Using the Plugin Manager

  1. Click Plugins
  2. Click Add New
  3. Search for google-analytics-injector
  4. Click Install
  5. Click Install Now
  6. Click Activate Plugin


  1. Upload google-analytics-injector folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


There are no reviews for this plugin.

Contributors & Developers

“Google Analytics Injector” is open source software. The following people have contributed to this plugin.




  • Initial release


  • Tested stability up to WordPress 3.3.1
  • Removed a PHP notice regarding an undifined index


  • Updated the validation function for validating the Google Analytics tracking code.


  • The plugin now exclude the visits from the Administrator. (bug fix)
  • Tested stability up to WordPress 3.8


  • Added option for _setDomainName
  • The plugin now exclude the visits from given restricted url. (bug fix)
  • Tested stability up to WordPress 3.8.1


  • Added this plugin to Github
  • Tested stability up to WordPress 3.9