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

---

Recherche d’extensions

![](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

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

[Télécharger](https://downloads.wordpress.org/plugin/gtm-kit.2.10.0.zip)

[Prévisualisation en direct](https://fr.wordpress.org/plugins/gtm-kit/?preview=1)

 * [Détails](https://fr.wordpress.org/plugins/gtm-kit/#description)
 * [Avis](https://fr.wordpress.org/plugins/gtm-kit/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/gtm-kit/#installation)
 * [Développement](https://fr.wordpress.org/plugins/gtm-kit/#developers)

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

## Description

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.

### 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.

## Captures d’écrans

 * [[
 * GTM Kit Dashboard
 * [[
 * Google Tag Manager container code and server side GTM
 * [[
 * Post data settings
 * [[
 * Google Consent Mode
 * [[
 * 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)

## Avis

![](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 avril 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 janvier 2026 1 réponse

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 janvier 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 octobre 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 septembre 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 juillet 2024

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

 [ Lire les 20 avis ](https://wordpress.org/support/plugin/gtm-kit/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« GTM Kit – Google Tag Manager & GA4 integration » est un logiciel libre. Les personnes
suivantes ont contribué à cette extension.

Contributeurs

 *   [ 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” a été traduit dans 4 locales. Remerciez
[l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/gtm-kit/contributors)
pour ses contributions.

[Traduisez « GTM Kit – Google Tag Manager & GA4 integration » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/gtm-kit)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/gtm-kit/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/gtm-kit/), ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/gtm-kit/)
par [RSS](https://plugins.trac.wordpress.org/log/gtm-kit/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 2.10.0

Release date: 2026-05-06

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

#### New:

 * New « CMP script attributes » section on the Consent settings page lets you toggle
   Cookiebot, Iubenda, and CookieYes script-blocking attributes with one click and
   add a custom attribute for any other CMP — no PHP filters required.
 * Fresh installs auto-detect a known CMP plugin (Cookiebot, Iubenda, CookieYes)
   and pre-select the matching toggle so the right attribute is on from day one.
 * New « Script gating » mode on the Consent settings page lets you choose between
   always loading GTM, letting it load under Consent Mode v2 control, or holding
   it back entirely until consent is granted. Default stays as « Always load » so
   existing installs see no change.
 * Strong-block mode masks the Google Tag Manager container until visitors consent.
   Works alongside any CMP and falls back gracefully when no consent signal arrives.
 * Power users can override which consent categories must be granted before strong-
   block mode unmasks GTM via the new `gtmkit_strong_block_required_categories` 
   filter.
 * `window.gtmkit.consent.state` exposes the current consent state so partner scripts
   and integrators can inspect it without subscribing to events.
 * New developer hooks let CMP integrations and consent add-ons plug into GTM Kit’s
   consent flow without forking the plugin — sites running Cookiebot, CookieYes,
   WP Consent API or in-house consent solutions can now feed their state straight
   into GTM Kit.
 * Server-side broadcast `gtmkit_consent_updated` so other plugins can react to 
   consent state changes without polling.
 * Per-event `gtmkit_event_should_defer` filter so future deferral features can 
   hold individual events back when consent is missing.

#### Bugfixes:

 * Eliminate « dependencies that are not registered: gtmkit-container » warnings
   logged by WordPress 6.9.1+ on sites that have GTM Kit’s container active.

#### Other:

 * The Cookiebot script attribute (`data-cookieconsent="ignore"`) is now configurable
   via Settings  Consent  CMP script attributes. Existing installs keep the attribute
   on by default to preserve current behavior; turn it off explicitly if you do 
   not use Cookiebot.

#### 2.9.0

Release date: 2026-04-29

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

#### Enhancements:

 * Scope Google Consent Mode defaults to specific countries or regions (e.g. DK,
   DE, US-CA) instead of applying them everywhere. Useful for sites with visitors
   both inside and outside the EU.
 * Consent updates from other plugins or partner scripts can now talk to GTM Kit
   through a simple JavaScript API, making CMP integrations easier.

#### Bugfixes:

 * Webhooks for Server-side Tracking on the WooCommerce integrations page no longer
   stay locked after entering an sGTM Container Domain on premium installs.

#### Other:

 * « Wait For Update » is now a proper number field with a sensible 500 ms default
   on new installs. Your existing value is kept.
 * Clearer warning on the Consent Mode page — if Cookiebot, Complianz, CookieYes,
   or Cookie Information already handles your consent, leave this setting off.
 * Introduced an internal automated test suite (PHPUnit + Vitest) and continuous
   integration across PHP 7.4–8.4 × WordPress 6.9. No functional change — every 
   future release is now verified by unit and integration tests before shipping,
   raising the bar on quality and reliability.

#### 2.8.4

Release date: 2026-04-23

#### Other:

 * Declared compatibility with WooCommerce Product Object Caching (`product_instance_caching`)
   introduced in WooCommerce 10.5. No functional change; resolves the « incompatible
   plugins » notice in WooCommerce  Settings  Advanced  Features.
 * Tested up to WooCommerce 10.7.
 * Tested up to WordPress 7.0.

#### 2.8.3

Release date: 2026-03-18

#### Bugfixes:

 * Fix: Add error handling to WooCommerce blocks action handlers to prevent tracking
   errors from breaking checkout functionality or interfering with third-party plugins.

#### Other:

 * Tested up to WooCommerce 10.6.

#### 2.8.2

Release date: 2026-02-17

#### Bugfixes:

 * Fix undefined array key warning for order-received query var in edge cases like
   certain payment gateway redirects or bot traffic.

#### 2.8.1

Release date: 2026-01-30

#### Bugfixes:

 * Fixes correct detection of the premium plugin.

#### 2.8.0

Release date: 2026-01-29

#### Enhancements:

 * Improved internal handling of plugin settings to make GTM Kit more reliable and
   easier to maintain, while ensuring full backward compatibility with existing 
   configurations.

#### Other:

 * Tested up to WooCommerce 10.5.
 * Require WooCommerce 9.5.

#### Earlier versions

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

## Méta

 *  Version **2.10.0**
 *  Dernière mise à jour **il y a 2 jours**
 *  Installations actives **30 000+**
 *  Version de WordPress ** 6.7 ou plus **
 *  Testé jusqu’à **7.0**
 *  Version de PHP ** 7.4 ou plus **
 *  Langues
 * [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/),
   et [Turkish](https://tr.wordpress.org/plugins/gtm-kit/).
 *  [Traduisez la dans votre langue](https://translate.wordpress.org/projects/wp-plugins/gtm-kit)
 * Étiquettes
 * [analytics](https://fr.wordpress.org/plugins/tags/analytics/)[ga4](https://fr.wordpress.org/plugins/tags/ga4/)
   [google tag manager](https://fr.wordpress.org/plugins/tags/google-tag-manager/)
   [gtm](https://fr.wordpress.org/plugins/tags/gtm/)[woocommerce](https://fr.wordpress.org/plugins/tags/woocommerce/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/gtm-kit/advanced/)

## Évaluations

 4.8 sur 5 étoiles.

 *  [  19 avis à 5 étoiles     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=2)
 *  [  1 avis à 1 étoile     ](https://wordpress.org/support/plugin/gtm-kit/reviews/?filter=1)

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

[Voir tous les avis](https://wordpress.org/support/plugin/gtm-kit/reviews/)

## Contributeurs

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

## Support

Demandes résolues ces deux derniers mois :

     0 sur 1

 [Voir le forum de support](https://wordpress.org/support/plugin/gtm-kit/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://github.com/tlamedia/gtm-kit)