Yireo_GoogleTagManager2HyvaCheckout

PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
License OSL-3.0
Latest Release 2.0.0

This Magento 2 module adds additional logic of the Yireo GoogleTagManager 2 to the Hyvä Checkout.

[!WARNING] This repository is maintained by Yireo. Unfortunately we are not a partner of Hyva, neither do we have a Hyva Checkout subscription. We therefore are not maintaining this repository. We do accept Pull Requests and will merge them right away and without testing.

Installation

composer require yireo/magento2-googletagmanager2-hyva-checkout
bin/magento module:enable Yireo_GoogleTagManager2HyvaCheckout

Compatibility

| Module | Hyvä Checkout | Magewire | | --- | --- | --- | | 2.x | 3.x | 3.7+ | | 1.0.x | 1.x | 1.x |

Current status

Magento 2 DI compilation success
Magento 2 Static Tests success
Playwright test success
Magento 2 Integration Tests success
Magento 2 Unit Tests success
Magento 2 Unit Tests success
Magento 2 Integration Tests success
Magento 2 DI compilation success
Magento 2 Static Tests success
Playwright test success

Support

For getting support, create an Issue under the following project URL:

https://github.com/yireo/Yireo_GoogleTagManager2HyvaCheckout

Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Magento_Backend Magento_Catalog Magento_CatalogInventory Magento_CatalogSearch Magento_Checkout Magento_Config Magento_ConfigurableProduct Magento_Cookie Magento_Customer Magento_Eav Magento_Payment Magento_Quote Magento_Sales Magento_Store Magento_Tax Yireo_CspUtilities Yireo_GoogleTagManager2
Composer details
Magento module name
Yireo_GoogleTagManager2HyvaCheckout
Composer name
yireo/magento2-googletagmanager2-hyva-checkout
Composer version
2.0.0
Default branch
master
Requirements
magento/framework: ^102.0 || ^103.0
magento/module-checkout: ^100.0
magewirephp/magewire: ^3.7
php: >=8.2 <8.6
yireo/magento2-googletagmanager2: ^3.10
Releases
2.0.0 06 November 2026
1.0.2 06 November 2026
1.0.1 06 November 2026
1.0.0 06 November 2026
Changelog

[2.0.0] - 29 October 2026

Changed

  • Support Hyvä Checkout 3 (Magewire 3) natively, without the hyva-themes/magento2-hyva-checkout-v1bc layer
  • Require magewirephp/magewire ^3.7; for Hyvä Checkout 1.x (Magewire 1) stay on 1.0.x
  • Listen with #[On] and push events with dispatch(); add_shipping_info and add_payment_info carry the same data as before
  • Skip the data layer push when there is no quote

[1.0.2] - 25 October 2025

Fixed

  • Do not escape JSON

[1.0.1] - 22 October 2025

Fixed

  • Fix after merge conflict
  • Update README.md

[1.0.0] - 06 May 2025

Added

  • Initial release

Last modified: October 17, 2026