This plugin hasn’t been tested with the latest three 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 Tag Manager and Webmaster Tools


Extend your WordPress installation with the latest and most useful Google Tag Manager and optionally Webmaster tools.

All that is required of you is to enter your Google Tag manager ID in the settings area of the plugin. The Google Tag manager Javascript code will be automatically inserted at the highest possible location of your page.


  • Enable Google Tag Manager container on all pages.
  • Enable Google Site Verification via META tag in HEAD.
  • Enable Bing Webmaster Tools via META tag in HEAD.
  • Inject custom javascript in HEAD / footer section of every page.


  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Apply you unique Google Tag Manager ID in the settings area.


Can I verify that my Google Tag Manager snippet is correctly installed?

Normally you would enable the plugin in your wordpress admin area and insert your Google Tag Manager ID in this plugin settings configuration page. In Google Tag manager ( you the would activate a Google Analytics Tag within your container for your wordpress site. As the Google Analytics Web Property ID get set and your version published, you may then log on to Google Analytics web UI ( Select your account and navigate to the real-time reports area and follow the Google Analytics data streaming to your account.

Contributors & Developers

“Google Tag Manager and Webmaster Tools” is open source software. The following people have contributed to this plugin.



  • Option to add additional custom javascript to be inserted after the Google Tag Manager snippet in HEAD.


  • Fix: W3 Total Cache compatibility issue, Prevent caching of objects after settings change


  • Assert dataLayer queue declaration.


  • Pass WP Category as pageCategory to Google Tag Manager via dataLayer queue.


  • Added support for Bing Webmaster Tools site verification meta tag.


  • Update version number


  • Fix broken link to options page in wp-admin


  • Public release