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
gtm-datalayerdirectory to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- 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.