Search by

zerofront / module-zero-google-analytics

pasichnikroman

Zero for Magento Open Source: GA4 e-commerce events with gtag.js or Google Tag Manager, with Consent Mode v2.

Package info

github.com/zerofrontdev/module-zero-google-analytics

Homepage

Type:magento2-module

pkg:composer/zerofront/module-zero-google-analytics

Statistics

Installs: 0

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.3.3 2026-10-21 14:26 UTC

This package is auto-updated.

Last update: 2026-10-21 14:36:56 UTC


README

GA4 e-commerce events for the Zero storefront, sent with gtag.js (GA4 directly) or through a Google Tag Manager container, with Google Consent Mode v2 following the visitor's choice in Zero_Consent's banner. Off by default: Stores > Configuration > Zero > Google Analytics.

More in the theme's docs/analytics.md (https://zerofront.dev/docs).

Install

Requires Magento Open Source 2.4.7–2.4.9 and PHP 8.2–8.4 with the GD extension built with WebP (php -r 'var_dump(function_exists("imagewebp"));' says true; Magento's own PHP requirements cover the rest). Without WebP in GD, Zero skips its WebP image copies and serves the originals.

composer require zerofront/module-zero-google-analytics
bin/magento setup:upgrade
bin/magento setup:di:compile           # production mode
bin/magento setup:static-content:deploy # production mode
bin/magento cache:flush

Composer installs zerofront/module-zero-core, zerofront/module-zero-consent with it.

Part of zerofront/zero, which installs the Zero theme and every Zero module at once.

License

OSL-3.0 or AFL-3.0, your choice: see NOTICE.md.

Vilmate

Zero is made by Fixstacks in partnership with Vilmate, a software development company. Documentation: https://zerofront.dev/docs. Demo store: https://demo.zerofront.dev.