WP Manifestindependent plugin directory
manifest / analytics / wp-gtm-datalayer

Google Tag Manager Data Layer

Wordpress plugin for Google Tag Manager DataLayer with a lot of data

by Powertic · github.com/powerticmkt/wp-gtm-datalayer · website

7stars
2forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/powerticmkt/wp-gtm-datalayer/archive/refs/heads/master.zip

From the readme

Google Tag Manager Data Layer by Powertic Google Tag Manager DataLayer plugin put all wordpress info from platform, woocommerce, user-agent, analytics utm and more on your GTM DataLayer. How to Install Just download the latest version from Github here: https://github.com/powerticmkt/wp-gtm-datalayer/archive/master.zip Important: This plugin is not listed on Wordpress directory until release of first stable version. Usage After install and activate the plugin your Google Tag Manager Data Layer it's full of info on head tag. Go to Google Data Layer Panel and Enable Preview Mode to see all variables available on your Data Layer: Wordpress Variables gtmPagePostType: Return the post type gtmPageTemplate: Return the post template gtmPageCategory: Return the main posy category gtmPageTags: Return the all post tags with commas gtmPagePostAuthorID: Return the ID of author of post/page gtmPagePostAuthor: Return the Author name of post/page gtmPagePostDate: Return the post publish date gtmPagePostDateYear: Return the year of post publish date gtmPagePostDateMonth: Return the month of post publish date gtmPagePostDateDay: Return the day of post publish date gtmUserEmail: Ret

Read the full README on GitHub →

Releases

TagPublished
1.0.0-beta2 Nov 21, 2017
1.0.0-beta1 Nov 21, 2017
0.10.0 Nov 21, 2017
0.9.4 Feb 13, 2017
0.9.3 Feb 13, 2017
0.9.2 Feb 12, 2017
0.9.0 Feb 12, 2017

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.