yireo / magento2-googletagmanager2

yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

  • Jisse Reitsma (Yireo)
magento2-module 2.4.6-2.4.9 Compatible Based on composer requirements only QA: failed OSL-3.0

Magento 2 module for Google Tag Manager

A client-side implementation of Google Tag Manager for Magento 2

Also see: https://www.yireo.com/software/magento-extensions/googletagmanager2

Currently, the Yireo_GoogleTagManager2 module has been refactored heavily: The architecture is redesigned, GA4
support is being added, GA3 support (aka UA/EE) is being removed, click-events are added and overall there is a huge
extensibility being added. The refactoring has come available under a new major version 3. If you were not using this
extension yet, you can just proceed with the composer installation which will pick this new version. If you were
using major version 2 in the past, edit your composer.json file manually to use the new version ^3.0. Alternatively, update your composer.json by using the command composer require yireo/magento2-googletagmanager2:^3.0 --no-update. Next, upgrade with composer update.

Latest Stable Version Total Downloads License

ExtDN Unit Tests
ExtDN Static Tests
ExtDN Integration Tests

Luma Themes compatible
Hyvä Themes compatible

Need help?

We offer courses on various topics of Magento 2, including the usage and configuration of Google Tag Manager and Google Analytics. See the following course page for more details:

yireo.com/training/magento2-gtm-advanced

Requirements

Supported versions: Magento 2.3.7 or higher and 2.4.1 or higher (partially because of the requirement for PHP 7.4 or PHP 8.1).

See composer.json for other requirements.

See also

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[Unreleased]

[3.10.7] - 24 February 2026

Fixed

  • Hyva product-clicks sometimes not working because of missing parent
  • Reset OrderItemDataMapper
  • Created config setting to send Cart & Purchase data in base currency or store currency
  • Added value and currency to add_shipping_info event
  • Added value adjusted field in purchase DL

[3.10.6] - 06 January 2026

Fixed

  • Add loki_theme support
  • Update TUTORIAL.md to remove GA4 Measurement ID
  • Update gtm-example.json
  • Update measurementIdOverride value in JSON
  • Add check for allowed_events length in script-pusher

[3.10.5] - 01 December 2025

Fixed

  • Prevent JS errors even though parent ID will skip click tracking
  • Other GitHub Action for PHPStan
  • Allow dataLayerMapping DI type in all data mappers
  • Explain DI types in README
  • Fix view-cart event again
  • Allow for DI config of Yireo\GoogleTagManager2\Config\Source\ProductAttributes

[3.10.4] - 14 November 2025

Fixed

  • Fix typo of wrong setting of $product as category

[3.10.3] - 22 October 2025

Fixed

  • Do not add products in event if category display mode does not show products @samicoman #266
  • Make sure to trigger view_cart when collapsing minicart
  • Make sure cart item price includes discount; Add discount, price_excl_tax and price_incl_tax
  • Cart total should include discount
  • Re-add payment_method not to break anything
  • Rename payment_method to payment_type property #283
  • Missing value & currency in remove_from_cart event #285
  • Move logout event to onload event via XML layout handle customer_account_logoutsuccess
  • Rename virtual logger to prevent DI code generation notice
  • Fixes some more wrong escaping methods being used in frontend files.
  • Update AddDataToCustomerSection.php
  • Add more product click selectors for Hyvä

[3.10.2] - 08 October 2025

Fixed

  • Fix wrong encoding

[3.10.1] - 08 October 2025

Fixed

  • Allow CSP frame-src from googletagmanager.com

[3.10.0] - 06 May 2025

Moved

  • Move Hyva Checkout compat into separate package

Fixed

  • Do not use custom product provider by default anymore

[3.9.18] - 23 April 2025

Fixed

  • PHP 8.4 compatibility issues

[3.9.17] - 17 March 2025

Fixed

  • Issue with js minify, script not loaded #269 @taoufiqaitali
  • Fix type error when event name is empty #259

[3.9.16] - 19 February 2025

Fixed

  • Make sure to apply Container URL to IFRAME URL as well #267 @rikwillems

[3.9.15] - 6 January 2025

Fixed

  • Subtract shipping discount amount from shipping amount #248
  • Subtract discount amount from subtotal

[3.9.14] - 11 December 2024

Fixed

  • Add payment method to order data #258 @sprankhub
  • Fix issue with multiple GTM IDs #257 @taoufiqaitali

[3.9.13] - 12 November 2024

Fixed

  • Avoid calling function twice, data already exist #254 @taoufiqaitali
  • Use price with currency instead base price #253 @florinm8
  • Re-enable product details in category view #250

[3.9.12] - 24 October 2024

Fixed

  • Move Model/Config/ classes to Config/
  • Add Funding label to backend configuration

[3.9.11] - 22 October 2024

Fixed

  • Change default category_products to 100 because it makes more sense
  • Change default view_cart_on_mini_cart_expand_only to 1 because it makes more sense

[3.9.10] - 22 October 2024

Fixed

  • Only trigger view_cart event when there are items in the cart
  • Allow multiple GTM IDs
  • Fix GTM URL

[3.9.9] - 22 October 2024

Fixed

  • Add new order state to order_states_for_purchase_event default
  • New setting googletagmanager2/settings/serverside_enabled
  • Only custom order states for purchase when Server-Side Tracking is enabled

[3.9.8] - 12 September 2024

Fixed

  • Fix Uncaught TypeError: products.forEach is not a function #246 @nahall
  • Allow configuring which order states should lead to purchase event

[3.9.7] - 29 August 2024

Fixed

  • Only clean dataLayer.ecommerce, if new push actually contains ecommerce data

[3.9.6] - 23 August 2024

Fixed

  • Move CSP logic to external module Yireo_CspUtilities

[3.9.5] - 22 August 2024

Fixed

  • Revert back to hard-coded proxy #242

[3.9.4] - 14 August 2024

Fixed

  • Guarantee subtotal is always float

[3.9.3] - 2 August 2024

Fixed

  • Prevent add_to_cart from firing twice #236 @henk-hypershop @MaximGns
  • Changed reported value from grand_total to subtotal in various events #240
  • Use current category as item_list_name parameter #234 @marcinfr
  • Only trigger purchase event when order is not canceled #227

[3.9.2] - 4 July 2024

Fixed

  • Extend from SecureHtmlRenderer\Proxy to delay the instantiation #239 @hostep

[3.9.1] - 1 July 2024

Fixed

  • Type Error in class AddCspInlineScripts with the Hyva Checkout #237

[3.9.0] - 20 June 2024

Added

  • Added $secureRenderer, so CSP compliance #231 @jemoon @hostep @nige-one
  • Added compatibility with older versions without SecureHtmlRenderer class

[3.8.3] - 10 April 2024

Fixed

  • Remove translation with empty strings #228

[3.8.2] - 6 April 2024

Fixed

  • Added customer address data to enhanced conversions #226 @JuulGr

[3.8.1] - 22 March 2024

Fixed

  • Remove page layout directive from Hyva checkout
  • Compat Magento latest with psr/log

[3.8.0] - 15 March 2024

Added

  • Lazyload non-event (non-GA4) data from localStorage in Hyva #213

Fixed

  • Make sure value of event purchase is without tax and shipping

[3.7.13] - 15 March 2024

Fixed

  • Require array return type for merge tags
  • Create separate EnhancedConversions tag class
  • Implement ArgumentInterface for Magewire dummy component class @wahidnory #223

[3.7.12] - 27 February 2024

Fixed

  • Add return to TriggerViewSearchResultDataLayerEvent plugin #214
  • hyva_checkout_index_index.xml is loaded without having the hyva checkout enabled #218
  • Fix restriction cookies with multiple website IDs #217 @jemoon

[3.7.11] - 6 February 2024

Fixed

  • Fix PHP errors

[3.7.10] - 6 February 2024

Fixed

  • Better error handling in CategoryProvider #209 @thomas-kl1
  • Strange issue with empty config causing issues #210 @shwetawawale

[3.7.9] - 5 February 2024

Fixed

  • Fix integration test
  • Fix potential issues with products only in Root Category

[3.7.8] - 3 February 2024

Fixed

  • Fix warnings when a product has no categories

[3.7.7] - 1 February 2024

Fixed

  • Fix DI compilation due to 3.7.6

[3.7.6] - 1 February 2024

Fixed

  • Refactor loading performance of product data and category data in cart

[3.7.5] - 27 January 2024

Fixed

  • Make sure that customer section in localstorage is refreshed with wishlist/index/add

[3.7.4] - 15 December 2023

Fixed

  • Fix PHP 7.4 compat issues

[3.7.3] - 15 December 2023

Fixed

  • Livewire: Multiple root elements detected

[3.7.2] - 13 December 2023

Fixed

  • Improve loading of shipping method (so add_shipping_info event)

[3.7.1] - 12 December 2023

Fixed

  • Fix error when removing cart item #201

[3.7.0] - 7 December 2023

Added

  • Hyva Checkout support (@hans-vereyken)

[3.6.5] - 28 November 2023

Fixed

  • Make sure to use gtm-checkout in the checkout, not customerData cart

[3.6.4] - 10 October 2023

Fixed

  • Prevent addShippingInfo from triggering an error in integration API #195 @rhoerr

[3.6.3] - 27 September 2023

Fixed

  • Fix login event fired on every pages Hyva #193
  • Fix inconsistent price/value formatting #187
  • Allowed pages are not always picked up properly #182 (@gaeldelmer)

[3.6.2] - 27 September 2023

Fixed

  • Properly implement allowed_pages in Hyva scripts
  • Make sure minicart_collapse is only there if cart event is allowed everywhere
  • Fatal error: Uncaught Error: Call to a member function getCarrierCode (#192 @WGenie @bvmax)

[3.6.1] - 21 September 2023

Fixed

  • currency should never be part of an item #189
  • Do not load category products if disabled #190 (@sprankhub)

[3.6.0] - 6 September 2023

Added

  • New event sign_up #185 (@samicoman)

Fixed

  • Fix position of value and currency in add_to_cart #186 (@anvanza)

[3.5.8] - 9 August 2023

Fixed

  • Use correct ID reference with product clicks on PLP pages

[3.5.7] - 22 July 2023

Fixed

  • Again prevent JS error Cannot read properties of undefined under Hyva #181

[3.5.6] - 21 July 2023

Fixed

  • Prevent JS error Cannot read properties of undefined under Hyva #181

[3.5.5] - 21 July 2023

Fixed

  • Make sure that shipment code is added, if missing in address
  • Doublecheck for empty events
  • Dont bother adding an event if it is empty

[3.5.4] - 17 July 2023

Fixed

  • Argument name productPath should be product_path #179 @meminuygur

[3.5.3] - 4 July 2023

Fixed

  • JS error flooding error console (#178 @WouterSteen)

[3.5.2] - 4 July 2023

Fixed

  • DataLayer/Tag/EnhancedConversions/Sha256EmailAddress.php breaks in PHP 7.4 @koentjeh

[3.5.1] - 4 July 2023

Fixed

  • Make sure undefined YIREO_GOOGLETAGMANAGER2_DEBUG_CLICKS does not cause issues

[3.5.0] - 4 July 2023

Fixed

  • Automagically add an index to every product being mapped #169

Added

  • Support For Enhanced Conversions (@sprankhub)

[3.4.5] - 27 June 2023

Fixed

  • Fix issue with uninitialized eventData caused by 3.4.4

[3.4.4] - 26 June 2023

Fixed

  • Fixed stepNavigator issue in non-default checkout

[3.4.3] - 22 June 2023

Fixed

  • Mixins are still active even when enabled = false

[3.4.2] - 21 June 2023

Fixed

  • Prevent add-to-cart to trigger view-cart, when view-cart is on cart-page only
  • Missing Quantity Parameter in add_to_cart Event

[3.4.1] - 20 June 2023

Fixed

  • Non-visible child products in bundle cause Fatal Exception

[3.4.0] - 19 June 2023

Added

  • Option to delay loading GTM until user interaction is triggered

[3.3.4] - 16 June 2023

Fixed

  • Fix issue with JS btoa and non-Latin1 characters #162 @amjadm61

[3.3.3] - 16 June 2023

Fixed

  • Emergency fix for number_format (3 args instead of 4) under PHP 7.4

[3.3.2] - 16 June 2023

Fixed

  • Guarantee that cart value is always returned with 4 decimals
  • Prevent duplicate events with same data
  • Make sure to return data if categories cause exception #160
  • Make sure non-cacheable events are wiped from Hyva localstorage
  • Don't add categories that are added to another Root Category

[3.3.1] - 15 June 2023

Fixed

  • parent() might cause issues with nesting HTML #157 @koentjeh
  • Only point item_id towards product ID and add a new order_item_id
  • Make logging with colors more consistant
  • Rename purchase event to purchase_event to comply to module standard
  • Combine notice log with push log
  • Add filename for better debugging
  • #158 fix payment trigger for guest user #159 @koentjeh

[3.3.0] - 12 June 2023

Added

  • Add view_search_result event #156 @gaeldelmer

[3.2.6] - 7 June 2023

Fixed

  • Make sure no-such-entity-exception doesnt break production
  • Make sure to filter categories by entity_id AND is_active

[3.2.5] - 6 June 2023

Fixed

  • Make sure quantity is a float not an int
  • Alt approach for bypassing non-active categories

[3.2.4] - 6 June 2023

Added

  • New etc/data_layer.xml to extend on global level (instead of using XML layout)

Fixed

  • Categories of product should be enabled to be displayed

[3.2.3] - 26 May 2023

Fixed

  • Rewrite splat into array_merge because of PHP 7.4 (#152)
  • Add log to CustomerSessionDataProvider (@gaeldelmer)
  • Execute begin_checkout event using checkout step navigator (@koentjeh #148)

[3.2.2] - 18 May 2023

Fixed

  • Triggering shipping and payment events on the spot, instead of delayed
  • Adding customData section gtm-checkout for reloading things in checkout

[3.2.1] - 10 May 2023

Added

  • Option for custom URL for gtm.js icw server-side analytics (@WouterSteen)

[3.2.0] - 20 April 2023

Added

  • Option to trigger view_cart event only when expanding minicart

Fixed

  • Support any method in any entity with GetAttributeValue
  • GA4 container ID client-side validation #142 @koentjeh

[3.1.3] - 8 April 2023

Fixed

  • Fixed default product_path config for product clicks

[3.1.2] - 8 April 2023

Added

  • Option to only generate view_cart on the cart page
  • Move product clicks to separate template and make productPath configurable through layout

[3.1.1] - 31 March 2023

Fixed

  • Product category information in data layer is incomplete #138 @DuckThom
  • Return price in the current currency for multi-currency stores #127 @samicoman
  • Reset ecommerce dataLayer everywhere
  • Use window.dataLayer instead of dataLayer

Added

  • Add currency and value to view_cart event

[3.1.0] - 19 March 2023

Fixed

  • Fix undeclared $scopeConfig in PHP 8.2

Added

  • Add additional magento_sku and magento_id to products

[3.0.18] - 17 March 2023

Fixed

  • Fix Invisible Cart Items #131 (@stijntrinos)

[3.0.17] - 14 March 2023

Fixed

  • Better fix for product edit pages

[3.0.16] - 13 March 2023

Fixed

  • Cast prices to float in orders and order items #133 (@lfolco)
  • Also support product edit pages
  • Optimise GetProductsFromCategoryBlockPlugin #135

[3.0.15] - 7 March 2023

Fixed

  • Prevent unknown $html argument in plugin to cause Fatal Error, not reported here, not duplicated

[3.0.14] - 28 February 2023

Fixed

  • Use tax config for prices in cart/order events #129 (@samicoman)
  • Return prices as numbers instead of strings #128 (@samicoman)

[3.0.13] - 21 February 2023

Fixed

  • Make sure array does not get converted to string #125
  • Removed duplicate IFRAME #126 (@elioermini)

[3.0.12] - 14 February 2023

Fixed

  • Use Magento\Checkout\Model\Cart instead of CartInterface #122

[3.0.11] - 14 February 2023

Fixed

  • Use core method instead of custom filter #123 (@sprankhub)
  • Prevent duplication of items in the view_item_list event #119 (@samicoman)

[3.0.10] - 31 January 2023

Fixed

  • Prevent TypeError with final price #120

[3.0.9] - 20 January 2023

Fixed

  • Fix purchase event
  • Prevent duplication of items in the purchase event when configurable product were ordered (@samicoman)

[3.0.8] - 16 January 2023

Fixed

  • Prevent failure when no eav attribute set in the config #117 (@samicoman)

[3.0.7] - 13 January 2023

Fixed

  • Use sku instead of id as item_id #114 (@samicoman)
  • Properly format product price #114 (@samicoman)
  • Add categories per product #114 (@samicoman)
  • Make sure to calculate value with right price in cart events #115 (@samicoman)
  • Handle configurable products in purchase event #116 (@samicoman)

[3.0.6] - 31 December 2022

Fixed

  • Prevent reloading order per order-item

[3.0.5] - 21 December 2022

Fixed

  • Render debugging block only if available

[3.0.4] - 17 December 2022

Fixed

  • Finalize product clicks for Hyva
  • Fix typo in payment validator

[3.0.3] - 13 December 2022

Fixed

  • Hyva event handling

[3.0.2] - 13 December 2022

Fixed

  • Basic compatibility with Hyva

[3.0.1] - 13 December 2022

Fixed

  • Backend model prevents saving container ID

[3.0.0] - 12 December 2022

Added

  • GA4 support
  • Removed GA4/UA/EE support
  • Extensibility via XML layout
  • Support for EAV attributes of products and categories
  • Click events
  • Cart & checkout events
  • Integration Tests

[2.1.8] - 1 July 2022

Fixed

  • Update ecommerce attributes #95 (@BorisovskiP)

[2.1.7] - 31 March 2022

Fixed

  • Prevent adding quote data to success page #91
  • Add additional field for ecommerce push #93 (@sprankhub)

Fixed

  • Prevent adding quote data to success page #91
  • Add additional field for ecommerce push #93 (@sprankhub)

[2.1.7] - 31 March 2022

Fixed

  • Prevent adding quote data to success page #91
  • Add additional field for ecommerce push #93 (@sprankhub)

[2.1.6] - 23 March 2022

Fixed

  • Add ecommerce push on checkout success #90 (@sprankhub)

[2.1.5] - 21 March 2022

Fixed

  • Fix Duplicate Product Tracking #88 (@sprankhub)
  • Add parent SKU #89 (@sprankhub)

[2.1.4] - 17 February 2022

Fixed

Fix duplicate product loading #85 (@sprankhub)

[2.1.3] - 23 September 2021

Fixed

  • Prevent Fatal Error with Amasty_Xlanding

[2.1.2] - 29 July 2021

Fixed

  • Fix error on cart configure page (@Irinina)

[2.1.1] - 10 July 2021

Fixed

  • Make sure \Yireo\GoogleTagManager2\ViewModel\Product::getProductPrice() always returns float

[2.1.0] - 10 July 2021

Fixed

  • Various styling issues (PHPCS, PHPStan)
  • Increase framework requirement to 101.2 because of ViewModel bug

Added

  • Enabled debugging in JS (dumping attributes and config)
  • New Attributes ViewModel to collect data after initialize output
  • Add API interfaces to guarantee backwards compatibility in future
  • Added XML layout container gooogletagmanager_container for most datalayer blocks
  • Added debug utility class
  • Renamed existing plugin interceptors

Removed

  • Rewrite x-magento-init into simple require() for performance
  • Refactored Category block to no longer depend on onLoadedProductCollection
  • Removed all block classes (Script, Category, Product, Generic, Custom)
  • Remove \Yireo\GoogleTagManager2\Util\GetCurrentProduct
  • Remove \Yireo\GoogleTagManager2\Util\GetCurrentCategory
  • Remove helper
  • Remove container model
  • Remove entire observer-based input method
  • Remove ViewModelFactory

[2.0.5] - 5 May 2021

Fixed

Re-add CSP whitelisting

[2.0.4] - 30 April 2021

Fixed

  • Fix block retrieval with Layout instead LayoutFactory (@sprankhub)
  • Make sure view model is set correctly (@sprankhub)

[2.0.3] - 29 October 2020

Fixed

  • Fix error when block is not present

[2.0.2] - 28 October 2020

Fixed

  • Category Sort By not working properly with 2.4.X because of weird product loading (70)
  • Refactored legacy Registry into request
  • Move Config class to new namespace
  • PHPCS fixes for Magento Marketplace compliance

[2.0.1] - 29 July 2020

Added

  • Magento 2.4 support

[2.0.0] - 2020-07-21

Removed

  • Legacy CustomerData class
  • Dev dependency with Mockery

Fixed

  • Upgrade PHPUnit to be 2.4 compatible
  • Bumped minimum PHP to 7.2

[1.1.3] - 2020-05-30

Fixed

  • Add a new CSP whitelist for M2.3.5+

[1.1.2] - 2020-03-31

Fixed

  • Some small code quality things

[1.1.1] - 2020-02-10

Added

  • Add ACL file for configuring access to config

[1.1.0] - 2019-11-23

Added

  • Major rewrite to remove custom sections in favor of DI plugin
  • No more reloading of sections

[1.0.3] - 2019-08-07

Fixed

  • Use currency code instead of currency symbol (@nicolas-medina)

[1.0.2] - 2019-06-15

Fixed

  • Move cookie-restriction-mode to JS to work with FPC

[1.0.1] - 2019-03-13

Fixed

  • Fix duplicate code
  • Add compatibility with Magento 2.2 again (2.1 is dropped permanently)
  • Fix invalid template path
  • Fix reloading issues with quote

[1.0.0] - 2019-02-26

Fixed

  • First release with Changelog
  • See GitHub commits for earlier messages
Versions
Version Stability QA Status Released
3.10.7 stable Fail 2026-02-24 08:28:14
3.10.6 stable Not tested 2026-01-06 13:46:46
3.10.5 stable Not tested 2025-12-01 14:54:18
3.10.4 stable Not tested 2025-11-14 18:28:43
3.10.3 stable Not tested 2025-10-22 11:29:43
3.10.2 stable Not tested 2025-10-08 11:54:16
3.10.1 stable Not tested 2025-10-08 11:51:26
3.10.0 stable Not tested 2025-05-06 10:07:44
3.9.18 stable Not tested 2025-04-23 11:07:53
3.9.17 stable Not tested 2025-03-17 18:38:36
3.9.16 stable Not tested 2025-02-19 12:21:13
3.9.15 stable Not tested 2025-01-06 14:21:14
3.9.14 stable Not tested 2024-12-11 11:10:35
3.9.13 stable Not tested 2024-11-12 07:44:22
3.9.12 stable Not tested 2024-10-24 12:03:42
3.9.11 stable Not tested 2024-10-22 13:33:54
3.9.10 stable Not tested 2024-10-22 12:07:58
3.9.9 stable Not tested 2024-10-22 12:00:04
3.9.8 stable Not tested 2024-09-12 11:48:07
3.9.7 stable Not tested 2024-08-29 14:40:36
3.9.6 stable Not tested 2024-08-26 07:09:46
3.9.5 stable Not tested 2024-08-22 14:22:20
3.9.4 stable Not tested 2024-08-14 06:55:22
3.9.3 stable Not tested 2024-08-02 12:12:42
3.9.2 stable Not tested 2024-07-04 14:11:15
3.9.1 stable Not tested 2024-07-01 10:11:07
3.9.0 stable Not tested 2024-06-28 09:01:24
3.8.3 stable Not tested 2024-04-10 13:14:35
3.8.2 stable Not tested 2024-04-06 12:44:06
3.8.1 stable Not tested 2024-03-22 15:46:52
3.8.0 stable Not tested 2024-03-15 12:49:54
3.7.13 stable Not tested 2024-03-15 12:05:45
3.7.12 stable Not tested 2024-02-27 14:15:57
3.7.11 stable Not tested 2024-02-06 15:01:23
3.7.10 stable Not tested 2024-02-06 14:58:41
3.7.9 stable Not tested 2024-02-06 07:30:55
3.7.8 stable Not tested 2024-02-03 07:56:28
3.7.7 stable Not tested 2024-02-01 18:20:43
3.7.6 stable Not tested 2024-02-01 11:22:47
3.7.5 stable Not tested 2024-01-27 10:13:09
3.7.4 stable Not tested 2023-12-15 11:28:00
3.7.3 stable Not tested 2023-12-15 07:09:24
3.7.2 stable Not tested 2023-12-13 08:46:14
3.7.1 stable Not tested 2023-12-12 15:05:06
3.7.0 stable Not tested 2023-12-07 10:22:55
3.6.4 stable Not tested 2023-10-10 14:16:03
3.6.3 stable Not tested 2023-09-27 13:12:28
3.6.2 stable Not tested 2023-09-27 10:56:03
3.6.1 stable Not tested 2023-09-21 17:08:10
3.5.8 stable Not tested 2023-08-09 13:22:45
3.5.7 stable Not tested 2023-07-22 07:02:15
3.5.6 stable Not tested 2023-07-21 14:26:37
3.5.5 stable Not tested 2023-07-21 13:50:33
3.5.4 stable Not tested 2023-07-17 14:34:11
3.5.3 stable Not tested 2023-07-07 09:46:33
3.5.2 stable Not tested 2023-07-06 13:29:27
3.5.1 stable Not tested 2023-07-04 16:47:55
3.5.0 stable Not tested 2023-07-04 16:39:07
3.4.5 stable Not tested 2023-06-27 11:27:26
3.4.4 stable Not tested 2023-06-26 15:59:16
3.4.3 stable Not tested 2023-06-22 13:24:05
3.4.2 stable Not tested 2023-06-21 10:11:11
3.4.1 stable Not tested 2023-06-20 17:10:59
3.4.0 stable Not tested 2023-06-19 18:22:56
3.3.4 stable Not tested 2023-06-16 17:38:25
3.3.3 stable Not tested 2023-06-16 14:45:15
3.3.2 stable Not tested 2023-06-16 14:11:01
3.3.1 stable Not tested 2023-06-15 14:59:48
3.3.0 stable Not tested 2023-06-13 05:04:46
3.2.6 stable Not tested 2023-06-07 07:16:59
3.2.5 stable Not tested 2023-06-06 17:41:17
3.2.4 stable Not tested 2023-06-06 05:18:57
3.2.3 stable Not tested 2023-05-26 07:08:30
3.2.2 stable Not tested 2023-05-18 13:46:38
3.2.1 stable Not tested 2023-05-10 16:50:42
3.2.0 stable Not tested 2023-04-20 14:31:20
3.1.2 stable Not tested 2023-04-08 08:35:02
3.1.1 stable Not tested 2023-03-31 17:10:47
3.1.0 stable Not tested 2023-03-19 14:08:08
3.0.18 stable Not tested 2023-03-17 09:22:33
3.0.17 stable Not tested 2023-03-14 15:30:01
3.0.16 stable Not tested 2023-03-13 16:02:10
3.0.15 stable Not tested 2023-03-07 12:01:21
3.0.14 stable Not tested 2023-02-28 16:04:25
3.0.13 stable Not tested 2023-02-21 03:12:45
3.0.12 stable Not tested 2023-02-14 05:49:57
3.0.11 stable Not tested 2023-02-14 02:42:22
3.0.10 stable Not tested 2023-01-31 12:33:29
3.0.9 stable Not tested 2023-01-20 16:03:58
3.0.8 stable Not tested 2023-01-16 09:38:23
3.0.7 stable Not tested 2023-01-13 14:43:40
3.0.6 stable Not tested 2022-12-31 08:40:46
3.0.5 stable Not tested 2022-12-21 13:38:42
3.0.4 stable Not tested 2022-12-17 09:28:20
3.0.3 stable Not tested 2022-12-13 16:35:54
3.0.2 stable Not tested 2022-12-13 16:12:27
3.0.1 stable Not tested 2022-12-13 07:34:08
3.0.0 stable Not tested 2022-12-12 19:08:11
2.1.8 stable Not tested 2022-07-01 13:34:51
2.1.7 stable Not tested 2022-03-31 09:47:31
2.1.6 stable Not tested 2022-03-23 18:32:59
2.1.5 stable Not tested 2022-03-21 16:05:15
2.1.4 stable Not tested 2022-02-17 15:05:51
2.1.3 stable Not tested 2021-09-23 14:14:06
2.1.2 stable Not tested 2021-07-29 11:07:20
2.1.1 stable Not tested 2021-07-13 14:03:53
2.1.0 stable Not tested 2021-07-11 10:29:58
2.0.5 stable Not tested 2021-05-05 12:36:32
2.0.4 stable Not tested 2021-04-30 12:26:02
2.0.3 stable Not tested 2021-02-24 13:38:08
2.0.2 stable Not tested 2020-10-28 10:09:16
2.0.1 stable Not tested 2020-07-29 09:40:21
1.1.3 stable Not tested 2020-05-30 08:45:46
1.1.2 stable Not tested 2020-03-31 16:26:43
1.1.1 stable Not tested 2020-02-10 18:30:18
1.1.0 stable Not tested 2019-11-23 17:45:40
1.0.3 stable Not tested 2019-08-07 08:02:57
1.0.2 stable Not tested 2019-06-15 19:53:51
1.0.1 stable Not tested 2019-03-13 06:48:15
1.0.0 stable Not tested 2019-02-22 16:48:32
0.3.18 stable Not tested 2019-02-22 16:14:56
0.3.17 stable Not tested 2019-02-11 17:26:13
0.3.16 stable Not tested 2019-02-04 15:45:43
0.3.15 stable Not tested 2018-11-29 20:40:18
0.3.13 stable Not tested 2018-08-13 09:09:39
0.3.12 stable Not tested 2018-06-06 12:31:42
0.3.11 stable Not tested 2018-05-22 07:08:34
0.3.10 stable Not tested 2018-05-09 16:35:52
0.3.9 stable Not tested 2018-05-01 10:42:08
0.3.8 stable Not tested 2018-04-26 14:45:49
0.3.7 stable Not tested 2018-02-21 19:03:42
0.3.6 stable Not tested 2017-11-28 08:10:20
0.3.5 stable Not tested 2017-10-22 10:15:15
0.3.4 stable Not tested 2017-09-12 16:43:55
0.3.3 stable Not tested 2017-08-25 14:23:21
0.3.1 stable Not tested 2017-08-18 10:28:59
0.3.0 stable Not tested 2017-08-12 10:34:39
0.2.6 stable Not tested 2017-06-04 12:17:02
0.2.5 stable Not tested 2016-07-22 16:10:23
0.2.4 stable Not tested 2016-06-23 13:36:17
0.2.3 stable Not tested 2016-04-10 08:26:54
0.2.2 stable Not tested 2016-04-10 07:54:12
0.2.1 stable Not tested 2016-04-04 14:37:58
0.2.0 stable Not tested 2015-12-26 13:08:34
0.1.0 stable Not tested 2015-12-26 09:20:22

Requires 21

Package Constraint
ext-dom *
ext-json *
ext-pcre *
magento/framework ^102.0 || ^103.0
magento/module-backend ^100.0 || ^101.0 || ^102.0
magento/module-catalog ^100.0 || ^101.0 || ^102.0 || ^103.0 || ^104.0
magento/module-catalog-search ^100.0 || ^101.0 || ^102.0
magento/module-checkout ^100.1
magento/module-config ^100.0 || ^101.0
magento/module-configurable-product ^100.0
magento/module-cookie ^100.0
magento/module-customer ^100.0 || ^101.0 || ^102.0 || ^103.0
magento/module-eav ^100.0 || ^101.0 || ^102.0
magento/module-payment ^100.0
magento/module-quote ^101.0
magento/module-sales ^100.0 || ^101.0 || ^102.0 || ^103.0
magento/module-store ^100.0 || ^101.0
magento/module-tax ^100.0
php ^7.4|^8.1
psr/log ^1 || ^2 || ^3
yireo/magento2-csp-utilities ^1.0

Requires-dev 1

Package Constraint
yireo/magento2-integration-test-helper ~0.0|^1.0

Suggests 2

Package Reason
yireo/magento2-googletagmanager2-loki-checkout Use this if you are using the Loki Checkout
yireo/magento2-googletagmanager2-hyva-checkout Use this if you are using the Hyvä Checkout
QA results
Tool Status Findings Summary
PHPCS Fail 1 1 errors (gating threshold: error-severity=10, ruleset: Magento2)
PHPStan Fail 15 15 errors (level 4, ruleset: phpstan + bitexpert/phpstan-magento)
Cpd Pass 0
Security Pass 0
License
OSL-3.0
Homepage
https://www.yireo.com/software/magento-extensions/googletagmanager2
Authors
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.