Title: GTM Kit &#8211; Google Tag Manager &amp; GA4 integration
Author: TLA Media
Published: <strong>6. September 2022</strong>
Last modified: 12. Juni 2026

---

Plugins suchen

![](https://ps.w.org/gtm-kit/assets/banner-772x250.png?rev=2820073)

![](https://ps.w.org/gtm-kit/assets/icon.svg?rev=2783020)

# GTM Kit – Google Tag Manager & GA4 integration

 Von [TLA Media](https://profiles.wordpress.org/tlamedia/)

[Herunterladen](https://downloads.wordpress.org/plugin/gtm-kit.2.15.0.zip)

[Live-Vorschau](https://de.wordpress.org/plugins/gtm-kit/?preview=1)

 * [Details](https://de.wordpress.org/plugins/gtm-kit/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/gtm-kit/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/gtm-kit/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/gtm-kit/#developers)

 [Support](https://wordpress.org/support/plugin/gtm-kit/)

## Beschreibung

GTM Kit puts the Google Tag Manager container code on your website so that you don’t
need to touch any code. It also pushes data from WooCommerce, Easy Digital Downloads(
EDD) and Contact Form 7 to the data layer for use with for Google Analytics 4, Facebook
and other GTM tags.

The goal of GTM Kit is to provide a flexible tool for generating the data layer 
for Google Tag Manager. It is easy to use and doesn’t require any coding, but it
allows developers to customize the plugin as needed.

### eCommerce events tracked with Google Analytics 4

The following GA4 events are automatically included in the dataLayer:

### WooCommerce

 * view_item_list
 * select_item
 * view_item
 * add_to_wishlist **[Premium]**
 * add_to_cart
 * view_cart
 * remove_from_cart
 * begin_checkout
 * add_shipping_info
 * add_payment_info
 * purchase
 * refund **[Premium]**
 * order_paid **[Premium]**

Unlock all features with [GTM Kit Woo Add-On](https://woocommerce.com/products/gtm-kit-woo-add-on/).

### Easy Digital Downloads

 * view_item
 * add_to_cart
 * begin_checkout
 * purchase

### Flexible container implementation

Depending on how you use Google Tag Manager you can delay the loading of the container
script until the browser is idle. This may be relevant to you be if are focusing
on pagespeed.

You may enter a custom domain name if you are using a custom server side GTM (sGTM)
container for tracking. It’s also possible to specify a custom loader. GTM Kit has
full support for Stape server GTM hosting.

You can also exclude specific pages from GTM entirely. Add URL patterns on the Container
settings page and GTM Kit holds back the container, the noscript fallback, and its
data layer scripts on matching pages. Useful for third-party checkout iframes, partner-
hosted subpages, and in-app webview routes that run their own tracking. Glob patterns
are supported by default, with optional regex for advanced matching.

### Post data

You may specify which post data elements you wish to include in the dataLayer for
use in Google Tag Manager.
 – Post type: include the type of the current post or
archive page. – Page type: include a defined page type. I.e. post, page, product,
category, cart, checkout etc. – Categories: include the categories of the current
post or archive page. – Tags: include the tags of the current post or archive page.–
Post title: include the post title of the current post. – Post ID: include the Post
ID of the current post. – Post date: include the post date. – Post author name: 
include the post author name. – Post author ID: include the post author ID.

## Screenshots

[⌊GTM Kit Dashboard⌉⌊GTM Kit Dashboard⌉[

GTM Kit Dashboard

[⌊Container settings: container code, server side GTM, and page exclusions⌉⌊Container
settings: container code, server side GTM, and page exclusions⌉[

Container settings: container code, server side GTM, and page exclusions

[⌊Post data settings⌉⌊Post data settings⌉[

Post data settings

[⌊Google Consent Mode⌉⌊Google Consent Mode⌉[

Google Consent Mode

[⌊WooCommerce Integration⌉⌊WooCommerce Integration⌉[

WooCommerce Integration

## Installation

 1. Install GTM Kit either via the WordPress.org plugin repository or by uploading 
    the files to your server.
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress
 3. Enter your GTM Container ID and click ‚Save changes‘.

## FAQ

### Where do I get a GTM Container ID?

Create an account and container in [Google Tag Manager](https://tagmanager.google.com/)
and get it there.

### Is Google Analytics 4 (GA4) supported?

Yes! We strive to support the full feature set of Google Analytics 4 and will implement
any future features of Analytics 4.

### Is this plugin cache friendly?

Yes! Pagespeed is one of our main focus points, and we strive to make the plugin
compatible with full page caching.

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/gtm-kit)

## Rezensionen

![](https://secure.gravatar.com/avatar/bbb6175a09141608e9cc4fd898495e118f73990c87d6d9a7154abd2f1eab6d03?
s=60&d=retro&r=g)

### 󠀁[A stable solution—for years](https://wordpress.org/support/topic/a-stable-solution-for-years/)󠁿

 [Dominik](https://profiles.wordpress.org/elexpress/) 23. April 2026

Every now and then, plugins cause problems after updates requiring you to work with
developers to fix bugs – but this one has worked reliably for years.

![](https://secure.gravatar.com/avatar/ef434f98845c6cca000d1eb979c22165da771b9222acaced3163384727aa96c7?
s=60&d=retro&r=g)

### 󠀁[Don’t waste your time with this plugin](https://wordpress.org/support/topic/dont-waste-your-time-with-this-plugin-8/)󠁿

 [tomaszubrik](https://profiles.wordpress.org/tomaszubrik/) 21. Januar 2026 1 Antwort

It’s not working. Instead of this I have to paste script into header of page to 
have GA4 live again. I spend 4 days with it and it’s not working at all. It was 
a waste of my time.

![](https://secure.gravatar.com/avatar/305cd0595d53c493138eed8d7aabe7c90c8257c2ea09865612a03502281e7280?
s=60&d=retro&r=g)

### 󠀁[Great Plugin requirements full filled!](https://wordpress.org/support/topic/great-plugin-requirements-full-filled/)󠁿

 [vinnyrajput](https://profiles.wordpress.org/vinnyrajput/) 23. Januar 2025

Easy to configure, effective and support is helpful.

![](https://secure.gravatar.com/avatar/01b291c8a5a1b681850e93eea8b8c0c469fe61917926f1fd465fb26084900314?
s=60&d=retro&r=g)

### 󠀁[Astonishing](https://wordpress.org/support/topic/astonishing-13/)󠁿

 [bluantinoo](https://profiles.wordpress.org/bluantinoo/) 16. Oktober 2024

After years of using GTM4WP I started having troubles tracking the purchase events
of my woocommerce. GTM Kit solved every issue in 5 minutes. It’s straightforward
to set up. It also imports settings from GTM4WP at first activation, and finally,
all my e-commerce events are tracked properly.

![](https://secure.gravatar.com/avatar/9e835600044ca5078fa0e0989df4bfda93f42fa33b8bc1cd517d6ade3088203c?
s=60&d=retro&r=g)

### 󠀁[Great Plugin – Great Support](https://wordpress.org/support/topic/great-plugin-great-support-1927/)󠁿

 [shopmaster](https://profiles.wordpress.org/serdarozbilen/) 26. September 2024

I have been using gtm4wp for years and didn’t think I would find anything better.
But I did. And with great support. It also fixed the issue with Bricks Builder right
away. It looks really great.

![](https://secure.gravatar.com/avatar/3bbd22ffa78a108e239e2bbd59b34bb3614b35b289e7279bc9a014c45d4560ab?
s=60&d=retro&r=g)

### 󠀁[Works great, exceptional good service](https://wordpress.org/support/topic/works-great-exceptional-good-service/)󠁿

 [Mooren](https://profiles.wordpress.org/mooren/) 16. Juli 2024

Fantastic service after we experienced an issue in our network setup.

 [ Alle 20 Rezensionen lesen ](https://wordpress.org/support/plugin/gtm-kit/reviews/)

## Mitwirkende und Entwickler

„GTM Kit – Google Tag Manager & GA4 integration“ ist Open-Source-Software. Folgende
Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

 *   [ TLA Media ](https://profiles.wordpress.org/tlamedia/)
 *   [ Torben Lundsgaard ](https://profiles.wordpress.org/torbenlundsgaard/)
 *   [ GTM Kit ](https://profiles.wordpress.org/gtmkit/)

„GTM Kit – Google Tag Manager & GA4 integration“ wurde in 4 Sprachen übersetzt. 
Danke an [die Übersetzer](https://translate.wordpress.org/projects/wp-plugins/gtm-kit/contributors)
für ihre Mitwirkung.

[Übersetze „GTM Kit – Google Tag Manager & GA4 integration“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/gtm-kit)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/gtm-kit/), sieh
dir das [SVN-Repository](https://plugins.svn.wordpress.org/gtm-kit/) an oder abonniere
das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/gtm-kit/) per
[RSS](https://plugins.trac.wordpress.org/log/gtm-kit/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 2.15.0

Release date: 2026-06-12

Find out about what’s new in our [our release post](https://gtmkit.com/gtm-kit-2-15/).

#### Bugfixes:

 * Security hardening: Links served to the settings interface from remote content(
   upgrade offers, templates, tutorials) and notifications are now validated before
   they are used for navigation.

#### Other:

 * New `gtmkit_settings_registry` filter lets add-ons register their settings fields
   with the GTM Kit settings screen at runtime. The settings screen now exposes 
   its field registry and related metadata, preparing for GTM Kit’s new settings
   interface.

#### 2.14.1

Release date: 2026-06-03

A maintenance fix for the 2.14 line; see the [2.14 release post](https://gtmkit.com/gtm-kit-2-14/)
for what 2.14 introduced.

#### Bugfixes:

 * WooCommerce block tracking now loads on block (FSE) themes where Cart, Checkout,
   Mini Cart, Product Collection, or Related Products are rendered from block templates
   and template parts. Previously the block tracking bundle could fail to load on
   these sites, so block ecommerce events never fired.

#### 2.14.0

Release date: 2026-06-02

Find out about what’s new in our [release post](https://gtmkit.com/gtm-kit-2-14/).

#### New:

 * New „Engagement events“ settings section emits GA4 standard `login`, `sign_up`,`
   search`, and `generate_lead` events out of the box. Each event has its own toggle
   and defaults to on, so customers see the events the moment they upgrade.
 * Rebuilt WooCommerce block tracking on stable data-store APIs. Cart, Checkout,
   Mini Cart, All Products, Product Collection, Single Product, Related Products,
   the Cart block cross-sells, and product filter blocks now all emit ecommerce 
   events end to end, including add_to_cart and view_cart from the Mini Cart, list
   and select tracking for the All Products grid and cart cross-sells, and view_item_list
   re-fires when a filter or pagination control updates a Product Collection.

#### Bugfixes:

 * The Contact Form 7 integration now loads reliably on form pages when „Load JavaScript“
   is set to the recommended „Only on pages where the Contact Form 7 script is registered“
   mode, even when a performance plugin (e.g. WP Rocket) defers Contact Form 7’s
   own scripts until shortcode render. Previously the integration could be skipped
   on legitimate form pages and `gtmkit.CF7MailSent` would not fire.

#### Other:

 * New developer filters let extensions tag the method, normalise the search term,
   assign a lead value, rename the handoff cookie, veto any event, or opt custom
   search templates into the `search` event.
 * New `gtmkit_blocks_supported` filter lets developers add custom block names to
   the list that loads GTM Kit’s block tracking.
 * Raised the minimum WooCommerce version to 10.3 for the new block tracking integration.
   Sites on earlier WooCommerce continue to receive classic-template tracking unchanged.
 * Added Vitest and Playwright test harnesses covering the block tracking path, 
   plus PHPUnit coverage for the block detection and Store API extension.
 * Prepare the settings and setup-wizard bootstrap for React 19, which WordPress
   will ship in a future release. No behaviour change under the current React 18.

#### 2.13.1

Release date: 2026-05-26

A maintenance fix for the 2.13 line; see the [2.13 release post](https://gtmkit.com/gtm-kit-2-13/)
for what 2.13 introduced.

#### Bugfixes:

 * The „Exclude pages from GTM“ feature now also holds back the WooCommerce, Contact
   Form 7, and Easy Digital Downloads tracking scripts on excluded pages. Previously
   those add-on scripts could still load on an excluded page and fail, because the
   core GTM Kit runtime they rely on was withheld there.

#### 2.13.0

Release date: 2026-05-26

Find out about what’s new in our [release post](https://gtmkit.com/gtm-kit-2-13/).

#### New:

 * New „Exclude pages from GTM“ section on the Container settings page lets you 
   list URL patterns where GTM Kit should stay off. Useful for third-party checkout
   iframes, partner-hosted subpages, or in-app webview routes that have their own
   tracking.
 * New `window.gtmkit.events.push()` helper now sits in front of every GTM Kit event
   push, so an add-on can defer consent-sensitive events in the browser without 
   server-side suppression.

#### Other:

 * The existing `gtmkit_container_active` filter now receives the actual computed
   container-active value instead of a hardcoded `true`, so callbacks that return
   the value through unchanged automatically honor the new URL exclusion.
 * PHP-rendered initial dataLayer content is now emitted through the same client
   helper, so deferral works the same on full-page-cached and uncached pages.

#### 2.12.0

Release date: 2026-05-19

Find out about what’s new in our [release post](https://gtmkit.com/gtm-kit-2-12/).

#### New:

 * New welcome modal greets fresh installs on their first GTM Kit admin page and
   links to the documentation. Existing installs are not interrupted.
 * GTM Kit can now surface launch and upgrade announcements from gtmkit.com without
   a plugin release.

#### Bugfixes:

 * Prevent a fatal error on WooCommerce shop and archive pages when another plugin(
   e.g. WP Grid Builder) re-runs the product loop without a current product in context.
   GTM Kit now skips its hidden product-data tag instead of crashing the page.
 * No more „headers already sent“ PHP warning when running WP-CLI commands on sites
   that use the Cookie Keeper option.

#### Other:

 * New `gtmkit_introductions` filter and `Introduction_Interface` contract let add-
   ons register their own announcement modals through a documented public API.

#### Earlier versions

For the changelog of earlier versions, please refer to [the changelog on gtmkit.com](https://gtmkit.com/changelog/).

## Meta

 *  Version **2.15.0**
 *  Zuletzt aktualisiert **vor 4 Tagen**
 *  Aktive Installationen **30.000+**
 *  WordPress-Version ** 6.8 oder höher **
 *  Getestet bis **7.0**
 *  PHP-Version ** 7.4 oder höher **
 *  Sprachen
 * [Danish](https://da.wordpress.org/plugins/gtm-kit/), [English (US)](https://wordpress.org/plugins/gtm-kit/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/gtm-kit/), [Spanish (Spain)](https://es.wordpress.org/plugins/gtm-kit/)
   und [Turkish](https://tr.wordpress.org/plugins/gtm-kit/).
 *  [Übersetze in deine Sprache](https://translate.wordpress.org/projects/wp-plugins/gtm-kit)
 * Schlagwörter
 * [analytics](https://de.wordpress.org/plugins/tags/analytics/)[ga4](https://de.wordpress.org/plugins/tags/ga4/)
   [google tag manager](https://de.wordpress.org/plugins/tags/google-tag-manager/)
   [gtm](https://de.wordpress.org/plugins/tags/gtm/)[woocommerce](https://de.wordpress.org/plugins/tags/woocommerce/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/gtm-kit/advanced/)

## Bewertungen

 4.8 von 5 Sternen.

 *  [  19 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=2)
 *  [  1 1-Sterne-Rezension     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gtm-kit/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/gtm-kit/reviews/)

## Mitwirkende

 *   [ TLA Media ](https://profiles.wordpress.org/tlamedia/)
 *   [ Torben Lundsgaard ](https://profiles.wordpress.org/torbenlundsgaard/)
 *   [ GTM Kit ](https://profiles.wordpress.org/gtmkit/)

## Support

Behobene Probleme in den letzten zwei Monaten:

     2 von 3

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/gtm-kit/)

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](https://github.com/tlamedia/gtm-kit)