🔥 Just Launched! Werra Premium Template for Hyvä See it in Action

Magento 2 Google Analytics 4 (GA4)

(26Reviews)

The easiest method to set up Magento 2 GA4 tracking is here. The extension comes with all the important e-commerce events set up in GTM to get a complete view of customers' journeys.

Key Features:

  • Enhanced e-commerce events
  • Google Ads conversion tracking
  • Track user sign-ups & logins
Compatible with: Magento CE, EE 2.3.x, 2.4.x

Magento Cloud

Description

Get a crystal-clear picture of your marketing performance and store’s experience. The Magento 2 Google Analytics 4 (GA4) extension by Meetanshi helps you set up Google Analytics tracking in your store with ease.

The extension integrates Google Analytics 4 with your store via Google Tag Manager. It helps you track your customer’s entire journey with your store – from the first visit to purchase and beyond – and gain valuable insights to make informed decisions.

The process is super easy and won’t take more than 10 minutes.


Benefits of Google Analytics 4 for Magento 2 Stores

  • Real-time Insights

    Find out what live users are doing on your Magento 2 store with real-time reporting in the Google Analytics dashboard using GA4 Magento 2.

  • Data Anomaly Detection

    Google Analytics 4 automatically detects unusual data points: let it be traffic spikes or conversion drops.

  • Audience Segmentation

    Create a custom audience in GA4 based on various attributes or events and use them for remarketing.

  • Automatic Insights

    Get automated insights in your analytics dashboard with the power of Google's AI and ML using the Magento GA4 integration extension.

  • Custom Reporting

    Discover strong insights from your data using the custom explorations (reports) with the Magento 2 Google Analytics extension.


Improve Your E-commerce Tracking with Magento 2 GA4 Extension

Quick Magento 2 GA4 Setup in 10 Minutes

Hundreds of store owners have successfully used Meetanshi's Magento GA 4 integration extension. It's easy to use and comes with a detailed user guide.

You can set up Magento 2 GA4 in just three easy steps:

  • Create a GTM account
  • Configure extension & generate JSON file
  • Import JSON into GTM

No complex settings. No need to hire developers.

Magento 2 and GTM configurationMagento 2 and GTM configuration

Debug view of sending e-commerce data to GA4Debug view of sending e-commerce data to GA4

GA4 Enhanced Measurement

Get deeper insights into customer behavior and engagement on your Magento 2 store. The enhanced measurement feature that comes with the GA4 integration to measure events like:

  • Page views
  • Scrolls
  • Outbound clicks
  • Site search
  • Video engagements
  • File downloads
  • Form interactions

Fully Customizable Magento Tracking

The Magento 2 Google Analytics 4 integration extension can be configured as per your tracking preferences.

In the extension, you can configure:

  • Product brand tracking
  • Product variants settings
  • Revenue calculation
  • Product click measurement
  • Child vs parent product tracking
Screenshot of backend configuration options in Magento 2 Google Analytics 4 extensionScreenshot of backend configuration options in Magento 2 Google Analytics 4 extension

showing website sending event with local currency and GA4 accepting store default currencyshowing website sending event with local currency and GA4 accepting store default currency

Multi-store & Multi-currency Support

Got a multi-store Magento site? Or selling in multiple currencies. No worries. Our Magento Google Analytics plugin has got you fully covered. The Magento 2 GA4 via GTM extension has been successfully tested in multi-store and multi-currency sites.


Track End-to-end Customer Journey with Google Analytics 4

GA4 funnel to analyze eCommerce purchasesGA4 funnel to analyze eCommerce purchases

Our Magento Google Analytics extension supports tracking the complete customer journey in your store. This includes getting insights like how many visitors add products to carts, begin checkouts, complete the payment, and abandon the purchase. You can use this data to find bottlenecks in the customer journey in your store and improve the process.

Measure Campaigns’ Performance

Track which marketing source or campaign is driving the most conversions. In the GA4 dashboard, you can analyze the traffic/user acquisition by sources, mediums, and campaigns, along with revenue data so that you can make informed marketing decisions to grow your online business.

Shopping Cart & Checkout Tracking

Google Analytics 4 for Magento 2 extension supports all the shopping cart and checkout events. It helps you to find the cart and checkout abandonments to optimize the customer journey.

Detailed Sales & Revenue Insights

Find out which campaigns bought the maximum $$$. Discover the hidden revenue sources and get clarity on where to put your next feet. The GA 4 Magento 2 extension allows you to track traffic sources that drive the highest sales to your store.


E-commerce Events You Can Track via Magento 2 Google Analytics 4 Integration

The Magento 2 Google Analytics 4 extension by Meetanshi allows you to track the following events from your store:

EVENT TRIGGERS WHEN
add_payment_info User adds payment details
add_to_cart User adds a product to the cart
add_to_compare User adds a product to compare
add_to_wishlist User adds a product to the wish list
begin_checkout User begins checkout
purchase User completes the payment and places an order
remove_from_cart User removes a product from the cart
select_item User selects an item from the list
select_promotion User applies a promotion to the cart
shipping_info User adds shipping details
view_cart User views the cart
view_item User views the item
view_item_list User views the item list
view_promotion User views the promotion

How does Meetanshi's Magento 2 Google Analytics 4 Extension Work?

Video Thumbnail

It’s time to extend your Magento analytics with GA4 integration. Install the Google Analytics 4 Magento 2 extension now.

Customer Reviews

Best module for enhanced ecommerce tracking
Extension Ratings
Verified Buyer
Review by
I found this extension highly valuable as I'm using Google Analytics and Ads, and the best part of this module is supporting enhanced ecommerce tracking accurately.
I love the plugin so far!
Extension Ratings
Verified Buyer
Review by
I moved to the latest version of this extension, and the features are quite surprising.

Now, I'm able to analyze ad tracking. Thank you for adding these new features!
So awesome
Extension Ratings
Verified Buyer
Review by
After the tracking setup first time on my site, I can analyze the eCommerce conversions accurately.

Thankful for the help after the complete installation and GA4 assistance.
works perfectly now
Extension Ratings
Verified Buyer
Review by
We had issues tracking certain events with the previous vendor. This module works perfect for us. It also aligns completely with the consent mode. thanks sanjay!
Awesome plugin and great customer support
Extension Ratings
Verified Buyer
Review by
We had a small issue with the plugin but the customer support was super fast to help us.
Extremely helpful insights
Extension Ratings
Verified Buyer
Review by
Meetanshi's Magento 2 GA4 is a must-have for any M2 store owner. Seamless integration and great support from the team. Highly recommend it.
GA4 integration was easy
Extension Ratings
Verified Buyer
Review by
I highly recommend Meetanshi's Magento 2 Google Analytics 4 solution to any Magento store owner. Works and syncs perfectly
Quick and seamless GA4 integration
Extension Ratings
Verified Buyer
Review by
Implementing GA4 was very easy with Meetanshi's Magento GA4 extension. Integration was seamless and quick. I am now able to track and analyze all events in detail and make data-driven decisions for my store.
Awesome plugin, thank you so much!
Extension Ratings
Verified Buyer
Review by
I finally took some time to try the new GA4 and wanted a simple way to implement the tracking code for my M2 store. Since GA4 was only released in October 2020, I was afraid there wouldn't be a plugin that would meet this need. I was wrong! The plugin was installed with no issues and I was able to simply copy and paste my measurement ID. It worked immediately! Awesome plugin, thank you so much!
ga4 setup guide is informative and extension works best
Extension Ratings
Verified Buyer
Review by
I've zero knowledge when it comes to google analytics. after purchasing google analytics 4 module from meetanshi, their setup guide was saviour for me to configure it. till date, it records and tracks data without any issue. very happy with the module.
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

Changelog

  • 05 June, 2025

    1.1.0

    • Compatible with Magento 2.4.8
  • 20 March, 2025

    1.0.9

    • Compatible with Magento 2.4.7-p4
  • 20 June, 2024

    1.0.8

    • Support for Google Ads enhanced conversion tracking.
    • Fixed minor issues for improved event tracking.
    • Track new signups and logged in users with user_id support.
    • Compatible with Magento 2.4.7.
  • 31 July, 2023

    1.0.7

    • Added server-side code to track purchase event.
  • 16 May, 2023

    1.0.6

    • Code improvement and bug fixes.
  • 3 May, 2023

    1.0.5

    • Code improvement and bug fixes.
  • 15 Feb, 2023

    1.0.4

    • Code improvement and bug fixes.
  • 09 Dec, 2022

    1.0.3

    • Added refund event.
  • 02 Nov, 2022

    1.0.2

    • Minor bug fixes and Code Improvement.
  • 21 October, 2022

    1.0.1

    • Minor bug fixes.

 

FAQs

1. Does this extension work with the latest Magento version?

Ans. Yes, it's fully compatible with the latest 2.4.7 release.

2. Can I Track Enhanced Conversions in GA4 Using this Extension?

Ans. Yes, the GA4 Magento 2 extension supports enhanced conversions, which means you can more accurately attribute conversions in your online store.

3. What is Enhanced E-commerce Tracking in GA4 Magento 2?

Ans. Enhanced e-commerce tracking helps you get a more detailed view of your customer's journey. It offers more data as compared to standard tracking. For example, you can track Product impressions and product clicks, View product details, Add a product to a shopping cart, Initiate the checkout process, Transactions, and Refunds.

 
  • Lifetime license to source code
  • 30 Days money back Guaranteed
  • Free support and updates for 1 year