Make more informed and data-driven decisions by integrating advanced Google Analytics 4 with Magento 2! Use GA4 NOW

Magento 2 Google Analytics 4 (GA4) Using GTM Extension

Magento 2 Google Analytics 4 (GA4) Using GTM

Take the eCommerce tracking and analytics of your Magento 2 store to the next level using the most advanced version of Goolge Analytics. Our Magento 2 Google Analytics 4 (GA4) extension makes it easier for the admins to integrate GA 4 with their Magento 2 stores using Google Tag Manager.

Key Features:

  • Easily integrate Google Analytics 4 with Magento 2 using GTM.
  • Real-time tracking for important eCommerce events.
  • No manual event creation efforts are required.
98 % of 100
Magento CE, EE 2.3.x, 2.4.x
Updates & Support Info
In stock

Your Google Analytics will stop working in

Time is flowing! Google Universal Analytics is reaching the graveyard. The Universal Analytics will stop processing hits from 1 July, 2023 onwards. Migrate to Google Analytics 4 now and keep yourself equipped with enough data before it's too late!


1. Copy JS and Non-Js Code from Google Tag Manager
2. Configuration M2 Google Analytics 4
3. Tag Manager Account and Container IDs
4. Google Analytics 4 Meaurement ID
5. Google Tag Manager API Configuration
6. Google Tag Manager Public ID
7. Json Export Options Settings
8. Import Json File in Google Tag Manager
9. Tags Imported in Google Tag Manager
10. Preview Imported Tags in Google Tag Manager
11. Data Tracking in Google Analytics 4

"The price of light is less than the cost of darkness."- Arthur C. Nielsen

Web analytics and reporting are important parts of the eCommerce businesses, which help make more informed and data-driven decisions. Google Analytics 4 (GA4) is the latest version of the set of powerful and free web analytics tools offered by Google. The upgraded version of this web analytics toolset comes with the most-advanced eCommerce tracking and analytics features that businesses can leverage to get more detailed insights into their marketing performance.

Google Analytics 4 offers to track the detailed behavior of visitors on the online shopping website through a wide range of eCommerce events. Manually setting up the tool with Magento 2 with all the required eCommerce tracking events can be complex and is prone to errors, which may result in inaccurate web analytics. Integrating Magento 2 store with Google Analytics 4 is easier for the store owners using our Magento 2 Google Analytics 4 extension.

Harness the benefits of the latest version of the web analytics tool by Google for your Magento 2 to improve the marketing strategies, increase traffic, improve user experience, and optimize the store for more conversions. Our Magento 2 Google Analytics 4 (GA4) extension connects Magento 2 with GA4 through the Google Tag manager and takes all the manual tasks of creating eCommerce events out of the process.

Why Should I Upgrade to Google Analytics 4?

The latest version of the web analytics toolset by Google, i.e. Google Analytics 4, is the future. According to Google, the latest version of Google Analytics is the next-generation measurement solution, which is slowly taking its place. It will totally replace Google Universal Analytics from July 1, 2023. The old version of Google Analytics will stop processing new data from the said date onwards. Therefore it becomes vital for the eCommerce businesses to switch to its latest version and get used to it by the sunset of Google Universal Analytics.

Install the Google Analytics 4 for Magento 2 extension now for a flawless integration of GA4 with your store and take the web analytics of your business to the next level.

Extremely helpful insights

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.

Review by James Hudson
GA4 integration was easy

I highly recommend Meetanshi's Magento 2 Google Analytics 4 solution to any Magento store owner. Works and syncs perfectly

Review by Joseph Padilla
Quick and seamless GA4 integration

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.

Review by Nathan
Awesome plugin, thank you so much!

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!

Review by Judith Becker
ga4 setup guide is informative and extension works best

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.

Review by natalia
the only google analytics extension with proper tracking

I used google analytics 4 for magento 2 from 3 different vendors and had to request the refund as they had a lot of bugs and the data was not tracking properly. this one from Meetanshi is recording data properly and has no issues.

Review by andrew smith
simple and fast ga4 integration

exactly what an extension should work like, ga4 by meetanshi is simple and fast to integrate.

Review by mohanthy
#1 google analytics 4 module

No one can compete meetanshi be it conding standard, explaination of configuration through guides or support. I'm using a few extensions from them. recently installed ga4 and it's #1

Review by June S.
Best GA4 module with no bugs

I have purchased GA4 extension from Meetanshi a few days back, it has no issue like the previous ones I tried and installed. Happy with the support team as they help whenever i contact with a query

Review by Jai
early move to ga4 turned out perfectly

after getting a number of mails from google analytics, i contacted meetanshi to make a move from ga3 to ga4. their extension captures data without any issue. the move to ga4 turned out perfectly

Review by max contador
ga4 magento 2 module with 0 issues

before implementing ga4 in my magento 2, i compared, purchased and tested extensions from 3 different vendors. metanshi's ga4 works without any issue and they provide easy to configure guide and prompt support.

Review by Carlos
tracking data perfectly

After purchasing the extension, i followed the guide to configure and they have explained everything in detail. For further testing i contacted the team and they explained me to track a test order. Till date, it captures data perfectly. the best magento 2 google analytics 4 extension in the market. would recommend for sure

Review by Rishi
Solid extension and works as described

I was in a hurry to migrate to GA4 in my website and contacted the team to install and configure the extension. Everything works as needed and the service is very professional. I can see the data in analytics is tracking perfectly. Thanks team Meetanshi for great work. I would surely recommend this module to everyone!

Review by K.R. Reade
happy with the ga4 module

As I heard google analytics 3 is ending in july 2023, I was looking to integrate GA4 in my store. After comparing all the extensions in SERP, I decided to go with meetanshi's M2 Google Analytics 4 extension. So far so good. Tracks data perfectly. would surely recommend.

Review by Michael Smith
Amazing module & thanks for the quick response!

I purchased this extension and it really works great. I had some issues but the team members helped & provided me with quick response. Presently, it works exactly as expected. Thanks to Meetanshi for introducing the extension and overall this extension is excellent. Easy to use. Would recommend to others!

Review by James
Helpful module to add eCommerce tracking feature

GA4 extension is very useful to add an eCommerce tracking feature. It makes the task much easier as everything seems automated. The module works best is best extension for Magento 2 stores. Well done guys and keep the good work going. Thank you for such a great development. I would surely look forward working with team Meetanshi in the near future!

Review by Bobby McQueen
Great value for money!

A much-needed extension at an affordable rates. It is a great module if you are using Google Analytics for your online store. The module exactly works as promised and offers an easy way of eCommerce tracking. We are using number of extensions from Meetanshi and they deliver great work with best quality.

Review by Dustin Brown
Works as expected!

Amazing extension! Really easy to use extension. I installed the extension and was able to connect Google Analytics 4 with my Magento 2 store in no time. I really loved the built-in events that makes the tracking easier. I highly recommend!

Review by Renee J. Haris
such a time saver module

immediately after the announcement of universal analytics end of support, my client asked for the quick integration of GA4 with magento2. I found meetanshi's magento 2 ga4 extension the best after comparing with others, purchased it and configured it within a few minutes. would definitely recommend

Review by shaurya
Everything works as needed.

Meetanshi's GA4 module is easy to integrate and configure with a few clicks. While migrating from standard analytics to GA4, it helps to track the detailed and enhanced anlytical data. Highly recommended

Review by Christine McColl
Superb Google Analytics 4 extension that i've ever used!

Liked the module. I tried integrating GA4 manually, but creating data layers was a bit difficult task. Using Meetanshi's Magento 2 Google Analytics 4 using google tag manager, integration has been much easier than ever. Thanks for such a great integration. Thumbs up

Review by Douglas
+ Load More Reviews
Write Your Own Review
Write Your Review

Only registered users can write reviews. Please

  • 09 Dec, 2022


    • Added refund event.
  • 02 Nov, 2022


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


    • Minor bug fixes.


  1. What is Google Analytics 4?
    Google Analytics 4 is the new, powerful, and upgraded version of Universal Analytics. It mainly focuses on providing advanced reports and even allows behavior tracking of online visitors using various eCommerce events. GA 4 offers AI-based predictive data and X-channel measurement.

  2. Is it worth upgrading to Google Analytics 4?
    Yes, Google Analytics 4 is worth upgrading to as GA4 allows tracking events that provides better insights into how customers interact with the store. It is the next-generation analytics tool that allows tracking events and provides detailed reporting to take crucial business decisions.

  3. Is Google Analytics 4 replacing Google Analytics?
    Yes! Google Analytics 4 will replace Google Universal Analytics from July 1, 2023. The older version of Google Analytics will stop processing new data, so it becomes vital for the store owners to switch to Google Analytics 4.

  4. Does Magento 2 support Google Analytics 4?
    Yes, it surely does! Upgrading or integrating Google Analytics 4 manually to your Magento 2 store can be challenging. But, the process can be made easier by integrating Magento 2 store with Google Analytics 4 using Meetanshi's Magento 2 Google Analytics 4 using GTM extension.

  5. How do I set up Google Analytics 4 in Magento 2?

    The foremost step is to install the extension on your Magento 2 store and set up the Google Tag Manager account. Then, you can carry out a few simple steps to integrate Google Analytics 4 with your Magento 2 store.

    • Enter the Google Tag Manager Code to Magento 2 store.
    • Configure Magento 2 GA4 extension. 
    • Download the JSON file and import it into the Google Tag Manager account. 

    That's it!

  6. Do I need an agency or developer to implement Google Analytics 4 into my Magento2 Store?
    No, you do not require an agency or developer to implement Google Analytics 4. The GA4 implementation can be performed with ease by using our Magento 2 Google Analytics 4 with GTM extension. All you need is to install the extension and should have the basic knowledge of Google Tag Manager and Google Analytics. 

  7. How does Google Analytics 4 differ from Universal Analytics?

    GA4 differs from universal analytics by 3 major ways, they are:

    • GA4 tracks events compared to universal analytics which provides sessions based tracking
    • GA4 supports full cross-device and cross-platform reporting
    • GA4 provides predictive analytics by leveraging AI and automation

  8. Is GA4 better than UA?
    The most obvious answer is Yes! GA4 is an improved version of UA with deeper insights, better tracking of customers' behavior, eCommerce conversion data views, and much more. More clarified data with GA4 can help you to make informed decisions for your business. 

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

Magento 2 Google Analytics 4

Features of Magento 2 Google Analytics 4 Using GTM Extension

  • Easy integration of Google Analytics 4 with Magento 2 store.
  • Option to enable or disable the integration from the backend.
  • Fields to enter the Google Tag Manager JS and non-JS code for integration with Magento 2.
  • The admin can select the unique variable to identify product from the following:
    • ID
    • SKU
  • Magento 2 GA4 extension also facilitates tracking performance by brand. The admin can enable the same and choose the brand attribute from the backend.
  • Option to enable the product variant feature from the backend.
  • Using the extension, the admin can choose to calculate the success page total from the following:
    • Subtotal
    • Grand total
  • Option to include or exclude the tax, shipping, and tax on shipping from the order total.
  • Easily track the conversion by defining the success page paths from the extension backend.
  • Include or exclude the orders with zero value while calculating the conversions.
  • Option to track the number of product clicks from the category pages, search result page, cross-sell & up-sell grids.
  • Option to choose the Parent ID or Child ID for tracking.
  • Easily integrate Google Tag Manager with Magento 2 by entering the following API information:
    • Account ID
    • Container ID
    • Measurement ID
  • Option to enable AdWords conversion tracking in your Magento 2 store by entering the following:
    • Google Conversion ID
    • Google Conversion Label
    • Google Conversion Currency Code
  • Supports Google AdWords remarketing. The admin can enable and configure it by entering the following details:
    • Conversion Code
    • Conversion Label
  • Generate and export the Json file for all the configurations to upload into the Google Tag Manager.

Supported eCommerce Tracking Events

Magento 2 Google Analytics 4 (GA4) extension makes it easy for the admins to track important eCommerce events in the store. The extension facilitates tracking the following events in Magento 2 through GA4:

Event Triggers when
add_payment_info a user submits their payment information
add_shipping_info a user submits their shipping information
add_to_cart a user adds items to cart
add_to_wishlist a user adds items to a wishlist
add_to_compare a user add items to compare
begin_checkout a user begins checkout
purchase a user completes a purchase
remove_from_cart a user removes items from a cart
select_item a user selects an item from a list
view_cart a user views their cart
view_item a user views an item
view_item_list a user sees a list of items/offerings
apply_coupon_code a user applies coupon code
remove_coupon_code a user removes coupon code
refund one or more items is refunded to a user

Make a switch to the next generation of Google Analytics using our Magento 2 Google Analytics 4 (GA4) extension and harness the full benefits of web analytics for your online store.

Want Us To Customize This Extension According To Your

Magento Needs?

contact us
People also Search For:

  • Magento 2 Google Analytics 4
  • Google Analytics 4 Magento 2
  • Magento 2 GA4
  • GA4 Magento 2
  • Google Analytics 4 for Magento 2
  • Setup Magento 2 GA4 with GTM
  • Magento 2 Google Analytics 4 Enhanced eCommerce Tracking
  • Magento 2 GA4 Integration
  • GA4 Integration with Magento 2
  • Magento 2 Google Analytics 4 Integration
  • Magento 2 Google Analytics 4 Extension
  • Magento 2 GA4 GTM
  • Magento GA4
  • Magento 2.4.4 GA4
  • Magento 2 GA4 Data Layer
  • Meetanshi GA4