yireo/magento2-googletagmanager2
Add Google Tag Manager to Magento
3.10.7
1.1M downloads/mo
#4963 most downloaded on Packagist
yireo/Yireo_GoogleTagManager2
What this package is like to depend on
Last release 6 months ago
24 Feb 2026
Release timing varies
gaps range from 2 weeks to 5 months
Most releases are documented
notes for 120 of 145 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
145 releases · first in 2015
7 releases in the last 12 months
see the full history below
Release timeline
145 releases · Dec 2015 to Feb 2026
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 60 of 145-
3.10.724 Feb 2026Release notes
Open source →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_infoevent - Added value adjusted field in purchase DL
-
3.10.606 Jan 2026Release notes
Open source →Fixed
- Add
loki_themesupport - Update TUTORIAL.md to remove GA4 Measurement ID
- Update gtm-example.json
- Update measurementIdOverride value in JSON
- Add check for
allowed_eventslength in script-pusher
- Add
-
3.10.501 Dec 2025Release notes
Open source →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.414 Nov 2025 -
3.10.322 Oct 2025Release notes
Open source →Fixed
- Do not add products in event if category display mode does not show products @samicoman #266
- Make sure to trigger
view_cartwhen collapsing minicart - Make sure cart item price includes discount; Add discount,
price_excl_taxandprice_incl_tax - Cart total should include discount
- Re-add
payment_methodnot to break anything - Rename
payment_methodtopayment_typeproperty #283 - Missing value & currency in
remove_from_cartevent #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.208 Oct 2025 -
3.10.108 Oct 2025 -
3.10.006 May 2025Release notes
Open source →Moved
- Move Hyva Checkout compat into separate package
Fixed
- Do not use custom product provider by default anymore
-
3.9.1823 Apr 2025 -
3.9.1717 Mar 2025Release notes
Open source →Fixed
- Issue with js minify, script not loaded #269 @taoufiqaitali
- Fix type error when event name is empty #259
-
3.9.1619 Feb 2025Release notes
Open source →Fixed
- Make sure to apply Container URL to IFRAME URL as well #267 @rikwillems
-
3.9.1506 Jan 2025Release notes
Open source →Fixed
- Subtract shipping discount amount from shipping amount #248
- Subtract discount amount from subtotal
-
3.9.1411 Dec 2024Release notes
Open source →Fixed
- Add payment method to order data #258 @sprankhub
- Fix issue with multiple GTM IDs #257 @taoufiqaitali
-
3.9.1312 Nov 2024Release notes
Open source →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.1224 Oct 2024Release notes
Open source →Fixed
- Move
Model/Config/classes toConfig/ - Add
Fundinglabel to backend configuration
- Move
-
3.9.1122 Oct 2024Release notes
Open source →Fixed
- Change default
category_productsto 100 because it makes more sense - Change default
view_cart_on_mini_cart_expand_onlyto 1 because it makes more sense
- Change default
-
3.9.1022 Oct 2024Release notes
Open source →Fixed
- Only trigger
view_cartevent when there are items in the cart - Allow multiple GTM IDs
- Fix GTM URL
- Only trigger
-
3.9.922 Oct 2024Release notes
Open source →Fixed
- Add new order state to
order_states_for_purchase_eventdefault - New setting
googletagmanager2/settings/serverside_enabled - Only custom order states for
purchasewhen Server-Side Tracking is enabled
- Add new order state to
-
3.9.812 Sep 2024Release notes
Open source →Fixed
- Fix Uncaught TypeError: products.forEach is not a function #246 @nahall
- Allow configuring which order states should lead to
purchaseevent
-
3.9.729 Aug 2024Release notes
Open source →Fixed
- Only clean dataLayer.ecommerce, if new push actually contains ecommerce data
-
3.9.626 Aug 2024 -
3.9.522 Aug 2024 -
3.9.414 Aug 2024 -
3.9.302 Aug 2024Release notes
Open source →Fixed
- Prevent
add_to_cartfrom firing twice #236 @henk-hypershop @MaximGns - Changed reported value from
grand_totaltosubtotalin various events #240 - Use current category as
item_list_nameparameter #234 @marcinfr - Only trigger
purchaseevent when order is not canceled #227
- Prevent
-
3.9.204 Jul 2024Release notes
Open source →Fixed
- Extend from SecureHtmlRenderer\Proxy to delay the instantiation #239 @hostep
-
3.9.101 Jul 2024Release notes
Open source →Fixed
- Type Error in class AddCspInlineScripts with the Hyva Checkout #237
-
3.9.028 Jun 2024Release notes
Open source →Added
- Added $secureRenderer, so CSP compliance #231 @jemoon @hostep @nige-one
- Added compatibility with older versions without SecureHtmlRenderer class
-
3.8.310 Apr 2024 -
3.8.206 Apr 2024 -
3.8.122 Mar 2024Release notes
Open source →Fixed
- Remove page layout directive from Hyva checkout
- Compat Magento latest with psr/log
-
3.8.015 Mar 2024Release notes
Open source →Added
- Lazyload non-event (non-GA4) data from localStorage in Hyva #213
Fixed
- Make sure
valueof eventpurchaseis without tax and shipping
-
3.7.1315 Mar 2024Release notes
Open source →Fixed
- Require array return type for merge tags
- Create separate EnhancedConversions tag class
- Implement
ArgumentInterfacefor Magewire dummy component class @wahidnory #223
-
3.7.1227 Feb 2024Release notes
Open source →Fixed
- Add return to TriggerViewSearchResultDataLayerEvent plugin #214
hyva_checkout_index_index.xmlis loaded without having the hyva checkout enabled #218- Fix restriction cookies with multiple website IDs #217 @jemoon
-
3.7.1106 Feb 2024 -
3.7.1006 Feb 2024Release notes
Open source →Fixed
- Better error handling in CategoryProvider #209 @thomas-kl1
- Strange issue with empty config causing issues #210 @shwetawawale
-
3.7.905 Feb 2024Release notes
Open source →Fixed
- Fix integration test
- Fix potential issues with products only in Root Category
-
3.7.803 Feb 2024 -
3.7.701 Feb 2024 -
3.7.601 Feb 2024Release notes
Open source →Fixed
- Refactor loading performance of product data and category data in cart
-
3.7.527 Jan 2024Release notes
Open source →Fixed
- Make sure that
customersection in localstorage is refreshed withwishlist/index/add
- Make sure that
-
3.7.415 Dec 2023 -
3.7.315 Dec 2023 -
3.7.213 Dec 2023 -
3.7.112 Dec 2023 -
3.7.007 Dec 2023 -
3.6.410 Oct 2023Release notes
Open source →Fixed
- Prevent addShippingInfo from triggering an error in integration API #195 @rhoerr
-
3.6.327 Sep 2023Release notes
Open source →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.227 Sep 2023Release notes
Open source →Fixed
- Properly implement
allowed_pagesin Hyva scripts - Make sure
minicart_collapseis only there if cart event is allowed everywhere Fatal error: Uncaught Error: Call to a member function getCarrierCode(#192 @WGenie @bvmax)
- Properly implement
-
3.6.121 Sep 2023Release notes
Open source →Fixed
currencyshould never be part of anitem#189- Do not load category products if disabled #190 (@sprankhub)
-
3.5.809 Aug 2023 -
3.5.722 Jul 2023Release notes
Open source →Fixed
- Again prevent JS error
Cannot read properties of undefinedunder Hyva #181
- Again prevent JS error
-
3.5.621 Jul 2023Release notes
Open source →Fixed
- Prevent JS error
Cannot read properties of undefinedunder Hyva #181
- Prevent JS error
-
3.5.521 Jul 2023Release notes
Open source →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.417 Jul 2023 -
3.5.307 Jul 2023 -
3.5.206 Jul 2023Release notes
Open source →Fixed
DataLayer/Tag/EnhancedConversions/Sha256EmailAddress.phpbreaks in PHP 7.4 @koentjeh
-
3.5.104 Jul 2023Release notes
Open source →Fixed
- Make sure undefined
YIREO_GOOGLETAGMANAGER2_DEBUG_CLICKSdoes not cause issues
- Make sure undefined
-
3.5.004 Jul 2023Release notes
Open source →Fixed
- Automagically add an index to every product being mapped #169
Added
- Support For Enhanced Conversions (@sprankhub)
-
3.4.527 Jun 2023 -
3.4.426 Jun 2023