Insert Tracking Code for Google Analytics


All you have to do, to insert your Google Analytics Tracking Code into your website is:

  • Copy your Google Analytics Property from:
    Google Analytics, or
    Google Support
  • Paste the Property into Settings > Google Analytics > Tracking ID
  • Set that you are using the Universal Analytics Property or the Global Site Tag
  • Save the settings and the plugin inserts the required code to track
    visitors to your website.

Docs & Support

You can find more information, and contact the author at:
Travis Nice


Automatic Installation

  • Install the plugin through the WordPress plugins screen
  • Use the Settings->Google Analytics screen to paste your tracking id

Manual Installation

  • Upload the plugin files to the /wp-content/plugins/ directory
  • Activate the plugin through the ‚Plugins‘ screen in WordPress
  • Use the Settings->Google Analytics screen to paste your tracking id


Pro tento plugin nejsou žádné recenze.


Insert Tracking Code for Google Analytics je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.


Přehled změn


  • Changed the default to Universal Analytics just in case this updates with a UA property already set.


  • Added support for Global Site Tags as well as Universal Analytics


  • I’ve been on hiatus, but am now back in action and updating all my code under my personal account rather than my previous business account.
  • Tested for compatibility up to WordPress 5.5.1


  • Tested for compatibility with WordPress 5.2
  • Sorry for being away for so long. Everyday Publishing is now closed as a business, but I’m maintaining the code personally.


  • Tested for compatibility with WordPress v4.8


  • Moved the tracking code into the section for greater compatibility with Google’s Webmaster Tools.


  • Fixed an issue with the header information that gave an invalid header error during installation.


  • Fixed the issue with the tracking code being inserted when the tracking ID is empty
  • Simplified the options page for readability
  • Tested compatibility with WordPress 4.7.3


Messing about with subversion, and making sure that I got the directory tree


Superficial changes to fix a typo in the settings page, and update this README file


First Release