Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
GTM Kit – Google Tag Manager & GA4 integration icon

GTM Kit – Google Tag Manager & GA4 integration

v2.25.0
by TLA Media · 4.8 (20 reviews)

Flexible tool for generating the data layer for Google Tag Manager and GA4. Including WooCommerce data for Google Analytics 4 and support for server s …

30K+ active installs Updated Dec 01, 2026 Tested to 7.2 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
GTM Kit – Google Tag Manager & GA4 integration

About GTM Kit – Google Tag Manager & GA4 integration

GTM Kit is a tool that helps you implement Google Tag Manager on your website without the need for coding. It also allows you to track important eCommerce events and customize the plugin to fit your needs. You can unlock additional features by purchasing the GTM Kit Woo Add-On.

Screenshots

GTM Kit – Google Tag Manager & GA4 integration screenshot
GTM Kit – Google Tag Manager & GA4 integration screenshot
GTM Kit – Google Tag Manager & GA4 integration screenshot
GTM Kit – Google Tag Manager & GA4 integration screenshot
GTM Kit – Google Tag Manager & GA4 integration screenshot

Frequently asked questions

What is GTM Kit?
GTM Kit is a WordPress plugin that places the Google Tag Manager container code on your website without requiring manual code editing. It also pushes data from various sources like WooCommerce, Easy Digital Downloads, and Contact Form 7 to the data layer for use with Google Analytics 4, Facebook, and other GTM tags.
What eCommerce events does GTM Kit track for Google Analytics 4?
For WooCommerce, it tracks events like view_item_list, select_item, view_item, add_to_cart, view_cart, remove_from_cart, begin_checkout, add_shipping_info, add_payment_info, and purchase. For Easy Digital Downloads, it tracks view_item, add_to_cart, begin_checkout, and purchase. Some advanced WooCommerce events like add_to_wishlist, refund, and order_paid are premium features.
Does GTM Kit support server-side Google Tag Manager?
Yes, GTM Kit allows you to enter a custom domain name if you are using a custom server-side GTM container for tracking. It also offers full support for Stape server GTM hosting.
Can I customize the data layer with post information?
Yes, you can specify which post data elements to include in the dataLayer for Google Tag Manager. This includes post type, page type, categories, and tags.

Changelog

2.25.0

Release date: 2026-12-01

Find out about what’s new in our release post.

New:

  • GTM Kit now tells you when your CDN or host adds its own Google tag loader for your container, as Cloudflare’s Google tag gateway does.

Bugfixes:

  • Saving the settings no longer fails because of a switch stored in an older format, such as “on” or “yes”, and such a switch no longer locks the WooCommerce settings or shows the wrong state. GTM Kit converts it and saves, converts such switches once when you update, and a refused save now names each setting the way the settings screen shows it.
  • Dismissing a GTM Kit notice now sticks. Viewing your site or the dashboard while logged in no longer clears your notices, which made the Dismiss button stop working.
  • A switch saved as text such as “false” by another tool, for example WP-CLI, is now read as off everywhere, the Google tag gateway included. Before, it acted as on until the settings were next saved.
  • Uninstalling GTM Kit now removes all of its data, including the review prompt state and any leftover locks from settings changes.
  • The dashboard no longer says GTM Kit is sending data to your container when it may not be, and the Container card reads “Not injected” when the container is switched off or not set.

Other:

  • Add-ons can now show their own cards on the GTM Kit dashboard.
  • GTM Kit is now tested with WordPress 7.2.

2.24.0

Release date: 2026-11-10

Find out about what’s new in our release post.

New:

  • AI assistants connected through the WordPress Abilities API can now change a short list of GTM Kit settings, such as the container ID, consent defaults and integrations. Every change is previewed first and only applied with the one-time code from that preview. This is off until you turn it on with the gtmkit_write_abilities_enabled filter.
  • Product variations in the data layer now also carry their parent product’s ID, in a field named item_group_id and in the same format as the item ID, so a variation can be tied back to its product in reports and in Merchant Center feeds.
  • Open any GTM Kit settings section, the setup wizard or Google Tag Manager from the WordPress command palette (Ctrl+K or Cmd+K).

Bugfixes:

  • GTM Kit’s abilities now reach AI assistants on sites where another plugin loads an older copy of the MCP Adapter.
  • The consent status that AI assistants and Site Health report is now the default a new visitor gets, not the consent of the administrator viewing it.
  • Saving the settings no longer fails when a switch was stored as the text “true” or “false”, which can happen when a setting is changed outside the settings screen. The save now stores it as a proper on or off value, and a Google tag gateway stored as “false” is saved as off.
  • A search from the Product Search block is now counted once. Block themes counted it twice, and classic themes lost it when engagement search tracking was off.
  • A product search with a single match, which WooCommerce sends straight to the product page, is now counted as a search when engagement search tracking is on.
  • Searches from the Product Search block that WooCommerce now adds as a version of the WordPress Search block are counted when engagement search tracking is off.
  • The data layer name is now checked when you save it. A name that is not a valid JavaScript name, such as one with a space, is refused instead of breaking the container on every page.
  • Importing from GTM4WP now brings over a server-side domain that uses GTM4WP’s default script path, and a re-import clears a domain an earlier import saved but could not use.
  • The Stape loader notice now also appears when a saved loader no longer matches your settings, and the Google tag gateway’s custom-domain message says the Stape loader is off too.

Other:

  • When an AI assistant previews a change to the data layer name, the preview now warns that other scripts using the old name will need updating.
  • Clearer consent advice in Site Health.

2.23.1

Release date: 2026-11-02

Find out about what’s new in our release post.

Bugfixes:

  • With “Just the container” turned on, GTM Kit outputs the Google Tag Manager container again. It was left out of the page, so no tags fired.

2.23.0

Release date: 2026-10-27

Find out about what’s new in our release post.

New:

  • The GTM Kit settings screen now checks that your browser can reach your site’s settings API when it opens, and shows a notice if it cannot, if your site answers with an error, or if it is slow to answer. The notice explains the usual causes, such as a browser extension, ad blocker, VPN or firewall, and lets you copy the details for support. The check talks only to your own site and sends nothing anywhere else.

Other:

  • The event deferral warning in the settings, shown when GTM Kit cannot see a consent state, now names the two fixes that work with a consent banner running inside Google Tag Manager: the GTM Kit consent bridge tag in the container, or a consent plugin that supports the WP Consent API. It no longer suggests turning on Consent Mode.

Earlier versions

For the changelog of earlier versions, please refer to the changelog on gtmkit.com.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

LiteSpeed Cache icon

LiteSpeed Cache

4.8 · 7M+ installs

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

WooCommerce icon

WooCommerce

4.5 · 7M+ installs

Everything you need to launch an online store in days and keep it growing for years. From your…