Top 10% by Downloads Actively Maintained v3.10.5

Magento2 Googletagmanager2

yireo/magento2-googletagmanager2

Implements Google Tag Manager in Magento 2. Supports GA4, click events, and offers extensibility.

858,710
Downloads
3x above avg
164
GitHub Stars
3x above avg
25d ago
Last Release
20
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
1 error , 671 warnings
L3 PHPStan

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v3.10.5 on Magento 2.4.8-p3
Dec 27, 2025
GitHub Repository
Source code & docs
Packagist
Version history
Issues & Support
Get help or report bugs

Share This Module's Status

Magento2 Googletagmanager2 Magento compatibility status badge

README

Loaded from GitHub

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

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.

Back to All Modules