GA4 Ecommerce Tracking
Every GA4 ecommerce event of your Hyvä store, for Google Tag Manager or gtag.js.
Features
- view_item_list, select_item, view_item, search, add_to_cart, remove_from_cart, view_cart, begin_checkout, purchase
- Lists reloaded with AJAX (layered navigation, sorting, pages) tracked automatically
- Cart additions and removals tracked even after a redirect, with cached product pages
- Complete GA4 schema: brand, categories, variant, discount, position in the list
- Purchase sent only once, even when the confirmation page is reloaded
- Consent Mode v2 compatible with our Cookie Consent module
Description
Reliable GA4 ecommerce reports and Google Ads conversions at the right value.
What the module does
- view_item_list, select_item, view_item, search, add_to_cart, remove_from_cart, view_cart, begin_checkout, purchase
- Lists reloaded with AJAX (layered navigation, sorting, pages) tracked automatically
- Cart additions and removals tracked even after a redirect, with cached product pages
- Complete GA4 schema: brand, categories, variant, discount, position in the list
- Purchase sent only once, even when the confirmation page is reloaded
- Consent Mode v2 compatible with our Cookie Consent module
Built for Hyvä
Developed natively for Hyvä: CSP-compatible Alpine.js, Tailwind styles compiled into your theme build, no jQuery dependency. Composer installation, configuration per store view, English and French translations included.
Questions & answers
No question yet about this product.
Compatibility
| Magento Open Source / Adobe Commerce | 2.4.6 – 2.4.9 |
|---|---|
| Hyvä Theme | 1.3 – 1.5 |
| PHP | 8.2 – 8.5 |
| Luma | Not supported (Hyvä only) |
Changelog
-
v1.0.0
First release