Google Tag Manager 4 WordPress WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Adds Google Tag Manager to WordPress, with Enhanced E-commerce support, and more!
★ 0stars
3.0.0latest · 9 years ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/monkishtypist/gtm4wp/archive/refs/heads/master.zipUpdates itself. It ships its own updater, so new versions appear under Dashboard → Updates.
Google Tag Manager 4 WordPress #
Adds Google Tag Manager container to WordPress. Includes dataLayer markup for Enhanced E-commerce support for WooCommerce, and Dynamic Remarketing tags for AdWords.
Installation ##
1. Download this plugin
2. Upload to your site /wp-content/plugins/gtm4wp
3. Activate the "Google Tag Manager 4 WordPress" plugin
4. Go to the "Google Tag Manager" Settings page to add your Container and optional Brand code.
5. If your theme uses Theme Hooks Alliance action hooks, then you are done!
6. If it doesn't, and if you do not see the noscript output below your opening tag, then you will need to edit your theme's header.php file and add right below the opening tag.
Usage ##
Go to Settings - Google Tag Manager and add your Google Tag Manager container ID and save.
Adds latest version of GTM container code and dataLayer JavaScript object using wphead hook.
If your theme does not support Theme Hooks Alliance action hook thabodytop, add to your theme, right after the opening tag. This will allow Tag Manager's tag to be correctly output.
To disable GTM, disable the plugin.
Enhanced Ecommerce ##
GTM4WP uses Google's enhanced ecommerce dataLayer object. Fo
Releases
10 releases.
Tag
Published
3.0.0
latest
Feb 2, 2017 9 years ago
Feb 1, 2017 9 years ago
Dec 19, 2016 9 years ago
Dec 13, 2016 9 years ago
Dec 13, 2016 9 years ago
Dec 13, 2016 9 years ago
Dec 13, 2016 9 years ago
Dec 12, 2016 9 years ago
Dec 12, 2016 9 years ago
Dec 12, 2016 9 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.