GTM Kit – Google Tag Manager & GA4 integration


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.

Google Analytics 4 ile izlenen e-ticaret etkinlikleri

The following GA4 events are automatically included in the dataLayer:


  • view_item_list
  • select_item
  • view_item
  • add_to_wishlist
  • add_to_cart
  • view_cart
  • remove_from_cart
  • begin_checkout
  • add_shipping_info
  • add_payment_info
  • purchase

Easy Digital Downloads

  • view_item
  • add_to_cart
  • begin_checkout
  • purchase

Esnek kapsayıcı uygulaması

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.

Yazı Verisi

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.

Ekran Görüntüleri

  • GTM Kit Dashboard
  • Google Tag Manager container code and server side GTM
  • Yazı Verisi settings
  • Google Consent Mode
  • WooCommerce Entegrasyonu


  1. GTM Kit’i eklenti deposu aracılığıyla veya dosyaları sunucunuza yükleyerek kurun.
  2. Eklentiyi WordPress’teki ‘Eklentiler’ menüsünden etkinleştirin
  3. GTM Kapsayıcı Kimliğinizi (Container ID) girin ve “Değişiklikleri Kaydet”i tıklayın.


GTM Kapsayıcı Kimliğini (Container ID) nereden alabilirim?

Google Etiket Yöneticisi‘nde bir hesap ve kapsayıcı oluşturup oradan alabilirsiniz.

Google Analytics 4 (GA4) destekleniyor mu?

Evet! Google Analytics 4’ün bütün özelliklerini desteklemek için çalışıyoruz ve Analytics 4’ün gelecekteki tüm özelliklerini uygulayacağız.

Bu eklenti önbellek eklentilerini destekliyor mu?

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


18 Şubat 2024
This is the type of plugin you are looking for, simple, clean and effective! Thank you for the effort and keep up the good work!
28 Kasım 2023
A nice Plugin. If it continues to be developed without compromising its simplicity and simplicity, I will continue to use it.
11 Temmuz 2023
We are using the GTM Kit plugin integrated with the Easy Digital Downloads plugin, and it's been working very well for us! Recently, we faced an issue with the GA4 reports where some purchase events were missing. We immediately reached out to the support team, and they provided a quick fix. Now it is working fine with EDD. Thank you!!
11 incelemeyi oku

Katkıda Bulunanlar ve Geliştiriciler

“GTM Kit – Google Tag Manager & GA4 integration” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.

Katkıda bulunanlar

“GTM Kit – Google Tag Manager & GA4 integration” 2 dile çevrildi. Katkıda bulundukları için çevirmenlere teşekkürler.

“GTM Kit – Google Tag Manager & GA4 integration” eklentisini dilinize çevirin.

Geliştirmeyle ilgilenir misiniz?

Kodu görüntüle, SVN deposuna göz at veya RSS ile geliştirme günlüğüne abone ol.

Değişiklik Kaydı


Release date: 2024-02-07

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


  • Add option to fire a ‘load_delayed_js’ event, which can be used to delay JavaScript execution in Google Tag Manager.
  • This release comes with many behind-the-scenes improvements and general enhancements.
  • The script settings are the same on all pages and are now cached in the object cache for better performance.
  • The function to share system data with the support team has been improved with more data.
  • The code has been refactored for extendability.


Release date: 2024-01-08


  • Added missing flush of the ecommerce object on the select_item event.
  • 1.17 introduced a bug that caused item brand to be limited to a product attribute.


  • Tested up to WooCommerce 8.5.
  • Minor refactoring.


Release date: 2024-01-02

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


  • Add support for Google Consent Mode v2
  • Added a function to share system data with the GTM Kit support team. If you have registered a support request on and the GTM Kit support team has asked you to send your system data you can now do that in a secure way without posting any private information in the support forum.
  • Enhanced support for the select_item event in more WordPress themes. This update significantly improves the compatibility of the select_item event handling in themes such as Woodmart.


  • When adding a product to the cart from a product category page the quantity was not specified in the add_to_cart event.
  • On Single product pages a click on a quantity control would result in an undefined event.


Release date: 2023-12-13


  • Fixes an edge case where the loop index was not defined in WooCommerce product categories.


  • Tested up to WooCommerce 8.4


Release date: 2023-12-05


  • Fix missing datalayer when using Google Consent Mode default settings.
  • Easy Digital Downloads assets where enqueued with wrong filename.


Release date: 2023-12-04

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


  • Added option to specify the Google Tag Manager environment.
  • Performance optimization through optimized database queries and general code improvements.
  • Added a filter to deactivate the container, so the container can be deactivated on specific pages.
  • Improved support of the ‘add_to_wishlist’ event. Themes and plugins just have to add the class ‘add_to_wishlist’ on the ‘Add to wishlist’ button.


  • Add missing _sbp cookie in the cookie keeper.
  • The constant GTMKIT_EDD_DEBUG_TRACK_PURCHASE and GTMKIT_WC_DEBUG_TRACK_PURCHASE was not overriding correct.
  • Because of recent changes in WooCommerce clicks on grouped products in a product list would be treated as add_to_cart and not select_item.
  • Clicks on variation products and grouped products in product lists was treated as add_to_cart events and are now select_item events as they should be.
  • If a product ID prefix was used the ‘add_to_cart’ event did not work on grouped products.


  • Refactoring code for simplicity and maintainability

Earlier versions

For the changelog of earlier versions, please refer to the changelog on