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

Description

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

Screenshots

  • Adding Google Tag Manager to your blog

Installation

  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)

Contributors & Developers

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