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.

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


  1. Upload gtm-datalayer directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add your Google Tag Manager to the settings (Admin > Settings > Google Tag Manager)


There are no reviews for this plugin.

Contributors & Developers

“WordPress DataLayer for Google Tag Manager” is open source software. The following people have contributed to this plugin.