The Google Tag Manager plugin adds a field to the existing General Settings page for the ID and outputs the javascript to make it work.
As of April 2026, Google Tag Manager is a WordPress google plugin with 10K+ active installations and a 4.2/5 rating from 10 reviews. It has been downloaded 178K+ times in total. Requires WordPress 2.7+ and PHP false+. Available on WordPress.org since 2012. Last updated 5 years ago — may have compatibility concerns. Downloads are down 26% this week. Top alternative: Site Kit by Google – Analytics, Search….
You can sign up for a Google Tag Manager account here.
This plugin makes it even easier to use Google Tag Manager, adding all the code itself — all you need to do is provide the Account ID!
Otros plugins no me enviarvan al información de Google Analytics 4 pero este en un ratito lo solucionó, es genial y sencillo
Perfect!
Sin tantas complicaciones, funciona correctamente
Does what it says, inserts just the GTM code at the right time at the right location.
Fell in love with the simplicity of this plugin, wonder why it does not show up in top when looking for GTM plugin for WP.
Had to mess around with so many other plugins before I found it. All other related plugins are too complex, and slows down the site as well. This plugin does what its supposed to do and nothing else 🙂
“LESS is MORE”
Kudos to the author for such a beautiful implementation.
One suggestion though, if there would have been a single “do_action” with some custom action, before printing the GTM code, could make it easier to add some custom JS variables, if needed, to pass along to GTM, rather than printing them at wp_head with priority 9.
I’m trying to follow some youtube tutorials on GTM. They say to install the code manually, however, I use a child theme and I don’t know how to insert the code via functions php file. There are other GTM plugins, but they have so many options and things I’m afraid they will interfere with the tutorials. From reading the description, it sounds like the only thing your plugin does is insert the GTM code in the correct places. It doesn’t do anything else, am I correct?
| WordPress | 2.7+ requiredTested up to 5.4.19 |
| PHP | false+ required |
wp_body_open hook in core.Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.