GTM4WP – A Google Tag Manager (GTM) plugin for WordPress
by Thomas Geiger · Analytics
Advanced tag management for WordPress with Google Tag Manager
84 health vs 64 average across 1,028 Analytics plugins
Directory ranking optimization
How it's scored →How well this listing is tuned to rank in WordPress.org search, on the factors an owner controls. Not popularity, optimization.
Excellent listing optimization
Biggest win: Support resolution
To rank higher: Mark more forum threads resolved — the resolved ratio feeds the ranking.
Get the full rank-higher report →Daily downloads
Since 2022-10-05 · 1,421 days · wp.org + Plugin Pulse archive
30-day downloads
Rolling 30-day volume · peaks are release surges
510.8K
now · peak 697.0K
Directory rank vs rivals
wp.org popularity rank over time · higher is better · when a rival's line climbs above yours, they've overtaken you
Rating trend
Star average over time · dips mark rough releases
Update activity
How busy the existing users are, measured as downloads in the last 30 days for every 1,000 active sites. A spike means a new release everyone's pulling; a long, slow decline means an aging user base that updates less.
Release cadence
Actively maintainedHow often this plugin actually ships. A steady rhythm is the maintenance signal a single "last updated" date can't show.
4
releases in the last 12 months
8mo ago
latest release · v1.22.3
72
tagged releases on record
Recent releases
What its installed base runs
via wordpress.orgShare of active installs on each version of this plugin · 72% run the current release. Green is the current release; a big slice on older versions is a user base that has stopped updating.
Estimated active installs
The public count shows “700K+”. Our estimate pins where the real number sits.
Refined from the date this plugin crossed into its current band.
Install history · since 2015-03-19 · 1,473 observations
Estimated value
What this plugin might earn a year, and what it might sell for. Modeled from public signals; we don't see anyone's books.
Est. annual revenue
Est. acquisition value
No paid tier is visible, so we don't put a figure on revenue or sale value: that would be guessing. The install base is a real asset to an acquirer, just not one public data lets us price.
Details
Recent review vibe
read from the latest 12 reviews to 2025-10-29Reviewers who get it working call it reliable for GTM and WooCommerce tracking, while others report updates breaking tracking or mobile menus, no answer from support, and a setup that's rough unless you know what you're doing.
Recent reviews
All reviews on wp.org ↗- ★★★★★ Eurisko10mo ago
We’ve been using GTM4WP for all of our clients websites and it’s been super reliable. The eCommerce tracking integration has been a huge time saver for us. Huge thank you for this plugin Thomas Geiger!
Read on wp.org ↗ - ★★★★★ jaurioldm171.0y ago
I am writing this review to save other developers and site owners the immense amount of time I have just lost. I needed to implement standard GA4 e-commerce tracking on a professional WordPress/WooCommerce site. Based on its popularity and countless recommendations, I chose GTM4WP as the solution to generate the required dataLayer. Unfortunately, after days of intensive, professional-level debugging, I discovered that the plugin was completely non-functional in my specific—yet very common—environment. The plugin failed at its two most essential tasks: GTM Snippet Injection: The plugin’s most basic feature—injecting the GTM container script into the website’s <head> and <body>—did not work at all. The script was simply not present. I had to bypass this functionality entirely and inject the code manually using another method (Code Snippets) just to get our GTM container to load. E-commerce dataLayer Generation (The Deal-Breaker): This is the primary reason anyone uses this plugin. After successfully loading our GTM container manually, I ran a full test purchase. By analyzing the GTM debug mode and the site’s dataLayer object, I can confirm that GTM4WP completely failed to generate the purchase event and its corresponding ecommerce object on the WooCommerce order confirmation page. It produced absolutely nothing. My Technical Environment (Please read this before you install):To help others, here is the stack where the plugin failed. This is likely the source of the conflict: CMS: WordPress E-commerce: WooCommerce Theme: Hello Elementor (using a child theme) Page Builder: Elementor Pro Key Detail: I am using Elementor Pro to customize the WooCommerce page templates, including the “Thank You” / “Order Received” page. Conclusion: My conclusion is that GTM4WP is fundamentally incompatible with themes or page builders that override default WooCommerce templates—a standard practice for virtually any custom-designed website today. Because it cannot handle this common scenario, the plugin proved to be entirely useless for my project. While it may work on simple sites with basic, unmodified themes, it is not a reliable solution for professional, customized builds. The time and effort wasted diagnosing this incompatibility were substantial. I cannot recommend this plugin and strongly advise users with a similar tech stack to seek a manual implementation from the start.
Read on wp.org ↗ - ★★★★★ wheelchair1.1y ago
Thought this was beginner friendly. Is not.
Read on wp.org ↗ - ★★★★★ rbneuro1.5y ago
Em vários sites que o plugin está instalado, após alguma atualização, o menu mobile de alguns sites não abre.
Read on wp.org ↗ - ★★★★★ Shubham Verma1.7y ago
I’m disappointed with the support for this plugin. I submitted a question over a week ago, but I have yet to receive any response from the support team. While the plugin itself may work fine, having reliable support is critical, especially when issues arise. Unfortunately, the lack of responsiveness has made it difficult to trust this plugin for long-term use. I hope the team improves their support response time in the future. This topic was modified 1 year, 7 months ago by Shubham Verma.
Read on wp.org ↗ - ★★★★★ AnDurugkar1.8y ago
Hi Thomas , I have noticed that gtm4wp.contactForm7Submitted is not getting the data when I updated the contact form 7 to version 6.0, I reverted the version back to 5.9.7 and it started working again!, will this helpfull?
Read on wp.org ↗ - ★★★★★ quentintaran1.8y ago
I was stuck for hours trying to tweak the litespeed cache plugin so it’d work with Google Tag Manager. The solution was simple: use gtm4wp. For some reason, this plugin avoids the conflicts with litespeed cache (allowing your tags to fire). I’m so happy this works because my site really needs the performance boost from litespeed while being able to track results. A huge thank you to the developper!
Read on wp.org ↗ - ★★★★★ Skylabb1.9y ago
Good plugin to integrate GTM. The UI can use some polishing up.
Read on wp.org ↗
Latest updates
via wp.org changelogRecent releases and news for this plugin
- — Version 1.22.4 Fixed: hardened how values are encoded into the data layer and into inline script blocks. Script blocks are no longer HTML entity decoded after sanitization, and every value written into a script context is now JSON enco 1.22.4
- — Version 1.22.3 Fixed: when timeout for the select_item event with WooCommerce is set to 0, plugin does not halt the browser from loading the product page Fixed: properly reading timeout for select_item eventCallback 1.22.3
- — Version 1.22.2 Fixed: purchase event was not fired when is_order_received_page() WooCommerce tag was not supported by the template and the fallback method had to activate. 1.22.2
- — Version 1.22.1 Fixed: yet another fix to the purchase tracking. Thanks Khnaz35 1.22.1
- — Version 1.22 Added: new WooCommerce option to change the event timeout of the select_item event. Could help some UX issues when a user has an ad blocker installed. Added: new WordPress filter GTM4WP_WPFILTER_OVERWRITE_COMO_FLAG / gtm 1.22
- — Version 1.21.1 Fix: undefined product_qty variable prevents add_to_cart in some cases. Thanks diegoarda Fix: clarified that WebToffee integartion is only needed with the legacy 2.x product line Fix: Reflected Cross-Site Scripting (XSS) 1.21.1
Known vulnerabilities
via Wordfence Intelligence4 disclosed vulnerabilities on record for this plugin, all fixed in the current version. Sites on older versions stay exposed until they update.
- High · 7.2 GTM4WP <= 1.22.3 - Unauthenticated Stored Cross-Site Scripting via WooCommerce Billing Fields ↗2026-07-28 CVE-2026-16597 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affects <= 1.22.3 Patched in 1.22.4
- Medium · 5.5 Google Tag Manager for WordPress (GTM4WP) <= 1.15.1 - Stored Cross-Site Scripting via Content Element ID ↗2022-05-31 CVE-2022-1961 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affects <= 1.15.1 Patched in 1.15.2
- Medium · 6.1 Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search ↗2022-05-19 CVE-2022-1707 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affects <= 1.15 Patched in 1.15.1
- High · 7.2 Google Tag Manager for WordPress <= 1.15 - Cross-Site Scripting via Cloudflare Country Code ↗2022-05-12 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affects <= 1.15 Patched in 1.15.1
Vulnerability records provided by Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. License and terms.
CVE records: Copyright 1999-2026 The MITRE Corporation. CVE terms of use.
Behavioral tests
via WP HiveAutomated install-time checks, tested on PHP 8.1.12 · WP 7.0.1
Languages
via translate.wordpress.orgTranslated into 63 languages, 8 at 90% or more
Plus 39 more locales with partial translations.
Growth timeline
Install-tier crossings we have observed, and how long each tier took to outgrow
- 2023-08-09 600K+ → 700K+ up after 5 days in tier
- 2023-08-04 700K+ → 600K+ down after 2 days in tier
- 2023-08-02 600K+ → 700K+ up after 3 days in tier
- 2023-07-30 700K+ → 600K+ down after 4 days in tier
- 2023-07-26 600K+ → 700K+ up after 3 days in tier
- 2023-07-23 700K+ → 600K+ down after 12 days in tier
- 2023-07-11 600K+ → 700K+ up after 2 days in tier
- 2023-07-09 700K+ → 600K+ down after 3 days in tier
Competes with
The plugins that solve the same job, ranked by shared tags then reach, closest match first. The letter on the right is each plugin's health grade (A best, F worst).
-
DeMomentSomTres WP Admin GTM 100+ installs · 3.6★ · 4 shared tags D
-
WEBKINDER Integration for Google Analytics and Google Tag Manager 10K+ installs · 4.5★ · 3 shared tags A -
Stape Conversion Tracking 10K+ installs · 4.2★ · 3 shared tags A -
Simple Google Analytics Tag Manager 1K+ installs · 3.6★ · 3 shared tags B
-
PLX Lead Reporting 200+ installs · 3.6★ · 3 shared tags D -
LighTag – Lightweight Google Tag Manager 10+ installs · 3.6★ · 3 shared tags D
Embed this report card
Drop a live Pulse card for GTM4WP – A Google Tag Manager (GTM) plugin for WordPress into a readme, a review or a deck. It updates itself.
<iframe src="https://plugins.wpmayor.com/embed/duracelltomi-google-tag-manager" width="480" height="300" style="border:0" loading="lazy" title="GTM4WP – A Google Tag Manager (GTM) plugin for WordPress — Plugin Pulse"></iframe> GTM4WP – A Google Tag Manager (GTM) plugin for WordPress: 700K+ active installs, 4.5★ (154 reviews). Plugin Pulse (WP Mayor), as of 2026-08-25. https://plugins.wpmayor.com/plugin/duracelltomi-google-tag-manager