Skip to content

Everything for WordPress, web development — and beyond

🔧 7 best Google Tag Manager plugins for WordPress 2026 (free and paid)

🔧 7 best Google Tag Manager plugins for WordPress 2026 (free and paid)

Integrating Google Tag Manager into WordPress through functions.php looks simple until the theme updates and the container breaks. A plugin solves this problem: the GTM code stays in place through any updates, plus you get dataLayer integrations that would take hours to code manually. Below, 7 plugins from minimalist to ecosystem-level, plus selection criteria for specific tasks.

💡 Quick overview:

  • If you just need to insert GTM code without overhead, use Tag Manager (Header, Body and Footer)
  • If you're running a WooCommerce store, Google Tag Manager for WooCommerce PRO ($49/year) or the free GTM Kit with GA4 integration
  • If you need maximum free integrations: GTM4WP, the standard on 700,000+ sites
  • If you manage meta tags for verification and Open Graph, Meta Tag Manager
  • After installing any plugin, verify tags through Google Tag Assistant and Preview Mode in GTM
Tag Manager plugin interface for inserting code into header and footer

A minimalist plugin for those who don't need visual builders. Tag Manager does exactly one thing: it inserts HTML code into the <head>, <body>, and <footer> of your WordPress site. No extra settings, no overhead.

In practice, this means you can add Google Tag Manager code, Google Analytics, Facebook Pixel, AdSense, or any other tracking script in a few clicks. The plugin supports code insertion in specific zones: header, footer, right after the opening <body>, at the start and end of posts, in the sidebar.

But there's a caveat. The interface is spartan, just text fields for code. No validation, no warnings. Make a syntax error, and the tag simply won't fire. A plugin for those who understand what they're doing.

Pros:

  • Zero overhead, loads no extra scripts
  • Flexible code placement in 8+ page zones
  • Works with any HTML tags, not just GTM

Cons:

  • No validation of entered code
  • No dataLayer integration, manual insertion only
  • Text-only interface, no hints

Price: free.

🔗 Tag Manager on WordPress.org

2. Google Tag Manager (WP Google Tag Manager)

Google Tag Manager for WordPress plugin settings page

A plugin from WP Proto Tools that covers the basic need: it inserts a GTM container on your site and doesn't go further. Separate fields for <head> and <body> fragments, support for multiple containers simultaneously.

What sets it apart from alternatives: asynchronous tag loading out of the box. This means GTM scripts don't block page rendering, critical for Core Web Vitals metrics. Plus built-in tag correctness verification through Google Tag Assistant integration.

The Lite version is sufficient for a typical WordPress site. The Pro version adds advanced tag firing rules, server-side GTM support, and load prioritization.

Pros:

  • Asynchronous loading, doesn't slow down the page
  • Multiple GTM containers on one site
  • Built-in tag validation

Cons:

  • Pro version is paid, prices on developer's site
  • No ready-made dataLayer integrations with WooCommerce
  • Documentation partially outdated

Price: free Lite version, Pro pricing on developer's site.

🔗 Lite version on WordPress.org

3. GTM Kit, Google Tag Manager & GA4 Integration

GTM Kit plugin interface in WordPress

A relatively new but rapidly growing plugin from TLA Media. GTM Kit is tailored for the GTM + Google Analytics 4 combination and does it better than many veterans. Native WooCommerce support: view events, add to cart, purchases, everything goes into dataLayer right after plugin installation.

Notably, it supports server-side GTM (server-side tagging). The plugin lets you specify your own domain for loading gtm.js, bypassing ad blockers and improving data collection accuracy. Plus built-in integration with Google Consent Mode v2 for GDPR compliance.

The plugin is actively updated, as of June 2026 the version is tested with WordPress 7.0, rating 4.8. The ecosystem is smaller than GTM4WP, but the development pace is impressive.

Pros:

  • Native GA4 integration with WooCommerce out of the box
  • Server-side GTM with custom domain
  • Google Consent Mode v2, GDPR compliance without additional plugins
  • Active development, WordPress 7.0 compatible

Cons:

  • Fewer third-party plugin integrations than GTM4WP
  • Smaller community, fewer ready-made recipes
  • No built-in dynamic remarketing support

Price: free.

🔗 GTM Kit on WordPress.org

4. Meta Tag Manager

Meta Tag Manager plugin meta tag control panel

A plugin from Marcus Sykes that solves a specific task: managing custom meta tags across a WordPress site. This isn't exactly a classic GTM plugin, but in the tag ecosystem it fills an important niche, meta tags for search engine verification, Open Graph, Twitter Cards, and custom Schema markup.

Supports adding tags globally (on all pages) and selectively, on individual posts, pages, custom post types. You can set tags through name, property, http-equiv, charset, itemprop attributes: the full set of HTML attributes.

In practice, most commonly used for: Google Search Console verification, Yandex.Webmaster, Pinterest verification, custom Open Graph tags for social media, JSON-LD schema insertions.

Pros:

  • Fine-grained control: separate tags for different content types
  • Support for all HTML meta tag attributes
  • Visual interface, no code editing
  • 80,000+ active installations, tested with WP 7.0

Cons:

  • Meta tags only, doesn't replace a full GTM container
  • No out-of-the-box Open Graph support (configured manually)
  • Premium features require Pro version

Price: free Lite version, Pro pricing on developer's site.

🔗 Meta Tag Manager on WordPress.org

5. Metronet Tag Manager

Metronet Tag Manager settings window for GTM integration

A simple and predictable plugin from Leon Hitchens. Metronet Tag Manager is tailored for one task, seamless Google Tag Manager container integration on a WordPress site. No dataLayer enhancements, no analytics, just correct GTM code insertion.

The plugin's feature is dataLayer variables at the individual post and page level. You can add your own variables through a metabox in the editor: set a name and value, and they go into dataLayer when the page loads. Convenient for passing custom parameters to GTM without programming.

For archive pages (categories, tags) you can also set separate dataLayer variables. Plus TinyMCE integration: through a button in the editor you can mark links with identifiers and HTML events for click tracking.

Pros:

  • DataLayer variables at individual post level, no code
  • Link markup for tracking through visual editor
  • 20,000+ active installations

Cons:

  • No WooCommerce integration
  • Six preset variables, limited for complex scenarios
  • No server-side GTM

Price: free.

🔗 Metronet Tag Manager on WordPress.org

6. GTM4WP, Google Tag Manager for WordPress

GTM4WP plugin settings page with basic options

The flagship plugin from Thomas Geiger. GTM4WP (formerly DuracellTomi's Google Tag Manager) with 700,000+ active installations and 154 reviews is the de facto standard for GTM integration with WordPress. And for good reason.

The plugin not only inserts the GTM container but also automatically populates dataLayer: post ID, author, categories, tags, post type, user login status, their role, email (SHA256 hashed), browser data, OS and device. For multisite, site ID and name. Weather data through OpenWeatherMap (requires API key), location information through IPStack.

A separate topic, integrations. WooCommerce with GA4 Enhanced Ecommerce, Contact Form 7 (form submission event), Google Ads Dynamic Remarketing, Facebook Ads, Google Consent Mode v2, AMP container support. Plus tracking of media players (YouTube, Vimeo, SoundCloud) and scroll with detailed events.

Tag, trigger, and variable blacklists and whitelists, protection against GTM account compromise. Server-side container with custom domain. User role exclusion from tracking.

Pros:

  • Most complete dataLayer among all WordPress plugins
  • WooCommerce GA4 Enhanced Ecommerce out of the box
  • 700,000+ installations, active author support
  • Server-side GTM, Consent Mode v2, media tracking
  • Tag whitelists/blacklists for security

Cons:

  • Steep learning curve, hundreds of settings
  • OpenWeatherMap and IPStack require separate API keys
  • On weak hosting dataLayer can add 50-100 ms to TTFB

Price: free.

🔗 GTM4WP on WordPress.org

7. Google Tag Manager for WooCommerce PRO

Google Tag Manager integration with WooCommerce, product page

If you have a WooCommerce store, this plugin can replace the entire GTM4WP + manual dataLayer setup combination. The official product from the WooCommerce.com marketplace covers e-commerce tracking completely: product view events, add to cart, checkout, and purchase go into dataLayer in GA4 and Universal Analytics formats.

The plugin includes presets for four platforms: Google Analytics GA4, Universal Analytics, Facebook Pixel, and Google Ads. Three clicks, and the integration is ready. No manual configuration of variables, triggers, and tags inside GTM: the plugin generates a ready-made JSON container that imports into GTM with one button.

Under the hood: native work with High Performance Order Storage (HPOS), consent management before sending data, protection against event duplication on page reload. The price includes 12 months of support and updates, justified for business sites.

Pros:

  • Complete e-commerce dataLayer without manual setup
  • Ready-made presets for GA4, Universal Analytics, Facebook Pixel, Google Ads
  • One-click container import
  • HPOS compatible

Cons:

  • Paid: single-site license (price on WooCommerce.com site)
  • Doesn't replace GTM4WP for non-ecommerce functions
  • WooCommerce only, useless without WooCommerce

Price: $49/year, includes 1 year of support and updates.

🔗 Download on WooCommerce.com

⁉️🤔 Frequently asked questions

Is a plugin even needed for Google Tag Manager on WordPress?

Yes, it's needed. Manually inserting GTM code into header.php and functions.php means losing it on theme updates. A plugin guarantees code preservation and dataLayer integrations with WooCommerce, media player tracking, scroll tracking, AMP, and Consent Mode. For a couple of tags on a personal site, manual insertion is enough, in all other cases a plugin saves hours of work.

Which plugin to choose for a WooCommerce store?

If budget allows, Google Tag Manager for WooCommerce PRO ($49/year) with ready-made e-commerce dataLayer without a single line of code. Free alternative, GTM4WP with manual Enhanced Ecommerce setup: more complex, but same functionality. GTM Kit also supports WooCommerce with GA4 and is rapidly gaining popularity. For a store with up to 100 products GTM4WP is enough, for 500+ with ad campaigns, WooCommerce PRO saves weeks.

What to choose: GTM4WP or GTM Kit?

GTM4WP is a proven veteran with 700,000+ installations and the widest integration. GTM Kit is a modern plugin focused on GA4, server-side GTM, and Google Consent Mode v2 out of the box. If you have a standard site with WooCommerce and GA4, GTM Kit is easier to set up. If you need integration with Contact Form 7, AMP, weather data, dynamic remarketing, only GTM4WP. Both are free, you can try both.

In practice, GTM4WP is more often chosen by agencies, due to flexibility and number of integrations. GTM Kit by site owners who need a quick GA4 launch without deep documentation diving.

Can you use multiple GTM plugins simultaneously?

Technically yes, but practically, not needed. GTM4WP and GTM Kit don't conflict because they insert code into different hooks. But two GTM containers on one site means double request to gtm.js, double dataLayer, and risk of event duplication. If you need features from different plugins, choose one as primary, and add missing dataLayer variables manually through wp_head or wp_footer.

Exception: main site on GTM4WP, and for the WooCommerce section WooCommerce PRO is used. In this case, separate containers: one for content, second for e-commerce events.

What to do if tags don't fire after plugin installation?

Diagnostic order: (1) verify the GTM container is published, in the GTM interface there should be a green Published badge; (2) in the plugin check the container ID, often confuse GTM-XXXX with G-XXXX (that's GA4); (3) open Preview Mode in GTM and check if Tag Assistant sees your site; (4) if the site uses a caching plugin (WP Rocket, FlyingPress), clear the cache; (5) check if AdBlock or Brave Shield is blocking gtm.js loading.

In 90% of cases the problem is browser or CDN cache. After plugin installation, open the site in incognito mode and check through Google Tag Assistant extension, it's faster than guessing.

What to install in 2026

Choosing a Google Tag Manager plugin for WordPress isn't a question of "which is best" but "which for your task." The range of scenarios is too wide.

If you just need to insert GTM code and forget it, Tag Manager (Header, Body and Footer) closes the task without overhead. If you have a WooCommerce store, Google Tag Manager for WooCommerce PRO for $49/year saves weeks of dataLayer setup. If you need maximum free integrations and are ready to work through a hundred settings, GTM4WP is unmatched.

GTM Kit is the dark horse for those starting in 2026 and want modern GA4 focus without legacy baggage. Meta Tag Manager solves a narrow but important meta tag task that other plugins don't cover. Metronet Tag Manager is a niche tool for custom dataLayer variables at post level.

Test the GTM4WP + Tag Assistant combination before launching ad campaigns. Half an hour in Preview Mode will save days of debugging later.