GTM4WP - A Google Tag Manager (GTM) plugin for WordPress
by Thomas Geiger 4.5 (154 reviews)

GTM4WP - A Google Tag Manager (GTM) plugin for WordPress

Advanced tag management for WordPress with Google Tag Manager

GTM4WP ranks #82 among WordPress.org plugins with 700,000+ active installations, is #4 of 1,970 in the Analytics category, a 4.5/5 rating from 154 reviews, and was last updated Sep 3, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 7.1
v2.0.1 Current Version v2.0.1
Updated 1 week ago Last Update on 03 Sep, 2026
Refreshed 11 hours ago Last Refreshed on
#4 of 1,970 in Analytics Top 1% by installs Downloads -83.3% this week Actively maintained
View on WordPress.org
Rank
#82
No change
Active Installs
700K+
-12.5%
KW Avg Position
3
No change
Downloads
13.9M
+45,081 today
Support Resolved
44%
No change
Rating
90%
Review 4.5 out of 5
4.5 (154 reviews)

Next Milestone 800K

Total Progress 100%
700K+ 800K+
0
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 0 more installs to reach 800K+

Rank Changes

62 72 82 92 102 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
62 72 82 92 102 31-08-2026 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
Current #82
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10K 20K 30K 40K 50K 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
0 20K 40K 60K 80K 100K 120K 31-08-2026 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.5
154 reviews
Overall 90%
5
131 (85%)
4
1 (1%)
3
5 (3%)
2
2 (1%)
1
15 (10%)

Support Threads Overview

Resolved
Unresolved
16
Total Threads
7
Resolved
9
Unresolved
44%
Resolution Rate

Security History

Source: WPVulnerability

4 known vulnerabilities on record · 1 in the last 24 months · checked 1 week ago

  1. GTM4WP – A Google Tag Manager (GTM) plugin for WordPress [duracelltomi-google-tag-manager] < 1.22.4

    CVE-2026-16597 · Fixed in v1.22.4

  2. GTM4WP – A Google Tag Manager (GTM) plugin for WordPress [duracelltomi-google-tag-manager] < 1.15.2

    CVE-2022-1961 · Fixed in v1.15.2

  3. GTM4WP – A Google Tag Manager (GTM) plugin for WordPress [duracelltomi-google-tag-manager] < 1.15.1

    CVE-2022-1707 · Fixed in v1.15.1

  4. GTM4WP – A Google Tag Manager (GTM) plugin for WordPress [duracelltomi-google-tag-manager] < 1.15.1

    Fixed in v1.15.1

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners who use Google Tag Manager to manage analytics and marketing tags. It handles placing GTM container code correctly on the site and feeds page, user, and event data into the GTM data layer.

  • Multiple GTM containers support
  • Data layer meta data push
  • WhichBrowser browser/OS/device data
  • Weather data via Open Weather Map
  • Media player event tracking
  • Scroll tracking
  • Tag/trigger/variable blacklist and whitelist
  • Server side container support

Frequently Asked Questions

Common questions about GTM4WP - A Google Tag Manager (GTM) plugin for WordPress

Tutorials for various Google Tag Manager settings and implementation are available on the plugin's website: https://gtm4wp.com/setup-gtm4wp-features PayPal / 3rd party payment gateway transactions in WooCommerce are not being tracked in Google Analytics PayPal and some other 3rd party payment gateways do not redirect users back to your website after a successful transaction by default. They offer a route back for your customer, but it can happen that users close the browser before arriving at your thank you page (also known as the order received page). This means that neither Google Analytics tags nor any other tags have a chance to fire. Enable auto-return in your payment gateway settings. This will instruct the gateway to show a quick info page after payment and redirect the user back to your site. This will improve the accuracy and frequency of tracked transactions. Purchase event is not tracked with WooCommerce This can happen if you are using a 3rd party plugin that alters the default order received page in a way that does not use WooCommerce's integration hooks. Either stop using that plugin, or ask its authors to mimic the behavior of the default order received page more closely by supporting the woocommerce is_order_received_page function and the woocommerce_thankyou action. Since version 2.0 the plugin also offers two settings that work around this without changing the 3rd party plugin: "Custom order received (thank-you) page" fires the purchase event on a bespoke confirmation page, and "Reliable purchase tracking" emits a missed purchase event on the next page the customer views in the same browser session. Both are de-duplicated, so an order is never counted twice.
Although Google recommends blocklisting tags and variables using classes, people struggle to know
on the tag restriction tabs. Regarding variables: ensure they are not part of any critical tags, as blocklisting such variables will render those tags useless.
Google Tag Manager supports basic scroll depth tracking based on percentage or pixels natively. Add a Scroll Depth trigger in your container and use it to fire your Google Analytics 4 and/or Google Ads remarketing/conversion tags. (The plugin's own scroll tracking feature was removed in 2.0 in favor of this built-in GTM functionality.)
Yes, this is a real risk with any full page cache, and it is not specific to this plugin: the HTML generated for one visitor is stored and served to everyone else. If visitor specific values (email address, user role, IP address) are written into the data layer, the cached copy will contain the values of whoever happened to trigger the caching. Turn on the "Cache-safe data layer" option to avoid this. With it enabled, no visitor or session data is written into cacheable HTML; those values are delivered in the browser instead, under the same data layer variable names.
Each tracking feature (WooCommerce, each media player, Contact Form 7, device data, etc.) is its own small JavaScript file, and the plugin loads only the files a page actually needs - the YouTube tracker, for instance, loads only on pages that embed a YouTube video, and with the "defer" strategy so it never blocks rendering. Those files are already minified by the plugin's build. Merging several files into one is intentionally left to a caching / performance plugin (WP Rocket, Autoptimize, LiteSpeed Cache, etc.), which can combine scripts across your whole site and in a way that suits your hosting and HTTP setup. On modern HTTP/2 hosting, many small conditionally-loaded files usually perform as well as one combined file. (1.x combined its own scripts; 2.0 delegates this.)

Sign In / Register

You need to sign in or register to use this feature.