This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WordPress DataLayer for Google Tag Manager


This plugin will allow you to automatically insert the Google Tag Manager script in your wordpress installation and also make available a dataLayer set of contextual data that can be used inside Google Tag Manager.

Supported data inside the dataLayer:
– platform (default value: wordpress)
– website name
– page type
– category for articles
– wordcount for pages and articles


  • Adding Google Tag Manager to your blog

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Browse the code