yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

Maintainers

Package info

github.com/yireo/Yireo_GoogleTagManager2

Homepage

Type:magento2-module

pkg:composer/yireo/magento2-googletagmanager2

Statistics

Installs: 916 287

Dependents: 5

Suggesters: 0

Stars: 166

Open Issues: 26

3.10.7 2026-02-24 08:28 UTC

README

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

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

Latest Stable Version Total Downloads License

Unit Tests Static Tests Integration Tests DI Compilation

Luma Themes compatible Hyvä Themes compatible

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.

About version 3

The Yireo_GoogleTagManager2 module was refactored heavily: The architecture was redesigned, GA4 support was being added, GA3 support (aka UA/EE) was being removed, click-events were added and overall there was 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.

See also

Support & Professional Services

This extension is released as free and open source software.
You are free to use, study, modify and distribute the code according to the license terms.

While the extension itself is available at no cost, professional assistance is available for merchants, agencies and developers who require guaranteed help, customizations or consultancy.

Professional support

Commercial support, training and consultancy can be obtained through Yireo:

  • Magento 2 consultancy and architecture guidance
  • Custom feature development
  • Debugging and performance optimization
  • Implementation support and best-practice advice
  • Developer training and workshops

If you require professional support, please contact Yireo:

👉 https://www.yireo.com/

Yireo is a Dutch company focused on Magento development, training and extension development, actively maintaining various open-source Magento projects.