GTM4WP: Google Tag Manager for WordPress
The first Google Tag Manager plugin with business goals in mind.
Track what visitors do on your website and every step of the purchase in your WooCommerce or Easy Digital Downloads store. GTM4WP puts Google Analytics 4 ecommerce events, page and visitor data, form submissions and media player events into the data layer, and sets the Google consent mode defaults.
All this without coding…
Version 2.0.6 · 700,000+ active installations · rated 4.5 out of 5 on wordpress.org

Track WordPress Data
Use Google Tag Manager for WordPress with simple post and page data in your data collection including data from custom post types and taxonomies.
Post attributes
Use post ID, author name, category and tag list to track content and analyze performance
Visitor data
Track logged in status, user role and user ID to tailor tracking and reporting to specific user groups.
Multisite
GTM4WP works on WordPress Multisite with some limitations. Learn more about the opportunities.
Track Special Data
Tailor your tracking plan to the name or branding of the device that the user is using while visiting your site.
Use the name and version of the operating system or browser to segment your reports or to personalize content with custom code in your Google Tag Manager container.
See which embedded videos and audio tracks your visitors start, pause and finish.
Device / OS / Browser
Read from the data layer data about the device being used to load your website, the operating system name and version as well as browser information.
Media players
Track when visitors play, pause and finish embedded Vimeo, Wistia, JW Player, SoundCloud, Spotify and other video and audio players, and how far they get.
Integrations
Google Tag Manager for WordPress works with popular WordPress plugins and Google services. Every integration is part of the free plugin.
WooCommerce
Track ecommerce interactions, set up Google Ads conversion tracking and dynamic remarketing, and tell new customers from returning ones without extra coding.


Google Analytics
Track ecommerce data in your Google Analytics 4 property for WooCommerce and Easy Digital Downloads stores at no extra cost.


Easy Digital Downloads
Send Google Analytics 4 ecommerce events from your Easy Digital Downloads store and measure Google Ads conversions, including new customer data.
Google Data Manager
Send the refunds you issue in WooCommerce or Easy Digital Downloads to Google Analytics 4 from your server, so your reports stop counting revenue you have given back.

