Google Analytics 4 for Magento2
In stock
- SKU
- MAGEGA4
* Support does not include improvement of the Magento extension, such as adding functionalities, resolving old Magento compatibilities, etc. If the module presents a bug on a native Magento instance (of the Magento versions listed on the extension page), we will resolve it whether or not you have purchased support.
View Support & Updates plansDescription
Description :
Google Analytics 4 extension for Magento 2 lets you use GA4 easily on your store: enable it, fill in your measurement ID, and that's it.
- Server-side transactions through Google's Measurement Protocol: only real (paid) orders are tracked, for an exact conversion rate. Options to track all orders, or orders reaching a specific status.
- Ecommerce and customer events: order placed, paid, invoiced, refunded, order status changed, customer login / logout / registration, newsletter, wishlist sharing, compare list, contact form.
- Extra pageviews for Ajax checkout steps.
- Custom properties: page, product, cart, customer, breadcrumb and environment data.
- Google Ads: conversion tag, enhanced conversions (hashed user data), remarketing and dynamic remarketing.
- Double tracking: one global account for all stores plus one account per store view.
- Marketplace orders (ShoppingFlux, M2E Pro) sent with a dedicated campaign.
- Opt-out, Magento cookie restriction, cookie options, referral exclusions, debug mode.
Compatibility: Magento Open Source 2.4.7 – 2.4.9 · PHP 8.3+
Licence: one production Magento installation (unlimited store views), plus unlimited development and staging instances.
Functionalities :
- Choose between classical transaction system (transaction sent on order success page) or server-side transaction system (transaction sent on event (order placed, order invoiced, etc..)
- By choosing server-side system, you will have an exact conversion rate!
- Server-side transaction system, using Google's Measurement Protocol support, allow you to track real transactions (only paid orders!). But if you want, an option allow you to track all orders (with non-paid ones). Or only orders which get a specific status.
- Configure your transaction tracking data : Including or excluding tax ? Order currency or Base Currency ? Send child items or not ?
- Track following events : Customer Registration, Customer Login, Customer Logout, Add product to cart, Remove product from cart, Add coupon code, Share wishlist, Add product to wishlist, Newsletter subscription & unsubscription, Order placed, Order paid, Order refunded, Time Spent on page, Compare:add, Compare:remove (Ask for more!)
- Track submitted contact form, Track successfull login, etc... with extra pageviews events.
- Send events during checkout : order placed, paid, refunded...
- Manage dimensions about the environment, the customer, the product, the breadcrumb, etc...
- Support a lot of custom dimensions (from product data, environment, customer, cart, breadcrumb, ..)
- Support for a lot of options : Opt-Out, IP anonymization, User ID, referrer override, cross domain parameters, cookies options, etc...
- Support double tracking : One account for all stores (global scope), and one account for the store view
- Google dynamic remarketing through custom dimensions
- Google Optimize support
- Google Tag Manager support (see documentation)
- Google remarketing support
- Google adwords support
Functionnality missing ? Please contact us, and maybe we could add it to our next release!
Compatibility :
PHP : 8.3+
Magento : Open Source 2.4.9, Open Source 2.4.8, Open Source 2.4.7
You want it compatible with another magento version, or extension ? Ask us
Answered Needs
Note: This list of answered needs is not exhaustive.
Some transactions are missing on Google Analytics from magento / Google Analytics doesn’t register all transactions / No Google Analytics eCommerce tracking data
Google Analytics tracking works fine, but ecommerce tracking is not working. Magento checkout success page is lacking the ecommerce order info.
Tracking Offline Sales In Google Analytics : I need that invoiced orders placed directly from Magento backoffice show up in ecommerce section of Google Analytics
The code for Google Analytics seems to be incomplete on magento (order info missing)
Google Analytics event tracking : How to track via google analytics customer registration on magento ?
Google Analytics event tracking : How to track via google analytics customer login on magento ?
Google Analytics event tracking : How to track via google analytics newsletter subscription on magento ?
I need to track orders that are placed on the back-end into google analytics. How can I do ?
How to add Google Remarketing tag on magento ?
Changelog
- 2026-09-03 2.7.4 : Fix dataLayer price when having group prices with qty=1.
- 2026-08-25 2.7.3 : Minor fix.
- 2026-08-22 2.7.2 : fix page_type on ajax and POST requests. Minor fixes.
- 2026-08-19 2.7.1 : fix page_location on ajax and POST requests.
- 2026-07-22 2.7.0 : make Measurement Protocol queue more resilient.