Unlock the full potential of your Magento store with the seamless integration to Google Analytics 4. Get access to a variety of built-in events and extended performance reports. Use Magento 2 Google Analytics extension to gain valuable insights into every stage of customer journey and make informed business decisions.
Track product impressions & clicks
Observe shopping cart & checkout events
Discover promotions performance
Gain deeper insights with Custom Dimensions
Generate JSON file with a single click
Use Server-Side or Client-Side tracking
Track Google AdWords conversions and remarketing
Activate Dynamic Remarketing tracking
Enable Enhanced Conversion with user-provided data
Cookie Consent (GDPR) compliant, including Google Consent Mode V2
Save time and effort by automatically integrating your store with Google Analytics 4
💰
Grow conversion rates with valuable insights provided by enhanced ecommerce analytics
⭐
Boost user experience by better understanding your customers' behavior and preferences
Smoothly integrate your store with Google Analytics 4
In today's fast-paced world, efficient data measurement is essential for any e-commerce business. With our Magento 2 Google Analytics 4 extension, you can easily keep track and analyze all important data directly in your Google Analytics account. Monitor your transactions, adds-to-cart, impressions, refunds and overall user activity so you can make data-driven decisions when planning your next move!
Easily connect your store to GA 4
The Magento 2 GTM offers easy integration of your ecommerce store with Google Analytics 4, saving you the hassle of manual setup. The extension allows for quick and simple configuration - just enable it from the backend and enter the GTM JS & non-JS codes. This automatically adds the Google Tag Manager code to all pages in your Magento 2 store, enabling site-wide tracking of user data.
Auto-generate JSON file
Flawlessly generate JSON file with a single click using Magento 2 GTM extension. This file contains all necessary tags, triggers, and variables for automatic ecommerce tracking events in Google Analytics 4. JSON file is generated based on your settings in Magento and can be imported into Google Tag Manager for seamless integration with your website.
Utilize Server-Side tagging
Gain control over the data being sent from the browser to your Google products (GTM). By implementing server-side tagging through the creation of a server container and setting up processing rules, you can effectively manage cookies on the server's side before transmitting the data to GTM, ensuring compliance with GDPR requirements and enhancing data privacy and protection. For more details about the way of enhanced Magento 2 ecommerce tracking, check out this user guide.
Monitor Google AdWords conversions and remarketing
Our Magento 2 Google Analytics extension allows you to gain valuable insights into the effectiveness of your campaigns and optimize them for better results with the Google AdWords Conversions tracking and Google AdWords Remarketing tracking. This functionality enables you to stay informed about the actions users take after clicking on your ads or visiting your website pages and maximize ROI through data-driven decisions.
Stay compliant with Cookie policy
The extension (both on Luma and Hyvä Themes) is compatible with Amasty Cookie Consent, ensuring compatibility with Google Consent Mode V2, essential for accurate data tracking in advertising and remarketing. Therefore even if users decline cookies, it is still possible to send data to GA4, utilizing conversion and behavior modeling. This approach maintains legal compliance while enabling Magento 2 store owners to gather from GA4 needed data layer for accurate store reports.
Get full picture of customer journey with Magento 2 GA4
With our Magento Google Analytics plugin, you gain comprehensive insights into every stage of your customers' experience by tracking a variety of events. From the initial website visit to the final purchase, you'll be able to understand how customers interact with your store, which products or pages they show the most interest in, and what actions lead to conversions.
Track product impressions & clicks
The Magento 2 GA4 extension enables you to effortlessly capture key product events, (such as view_item, select_item, view_item_list, search) on category and product pages of your online store. Leveraging this data will provide you with valuable insights into customers' behaviors and preferences, and help you make informed decisions on how to optimize your product pages for better conversion rates.
Gain deeper insights adding custom dimensions
Enhance your data tracking by adding custom dimensions, enabling you to capture more specific and detailed insights tailored to your business needs. With custom dimensions, you can track unique attributes and behaviors, providing a deeper understanding of your customers and their interactions. This flexibility allows for more refined analysis and better decision-making.
Observe shopping cart & checkout events
Monitor every interaction along your customers' path with Magento GA4 extension. Keep track of their shopping cart activities, from adding or removing products to viewing their cart and proceeding to checkout. Keep an eye on key checkout events such as begin_checkout, add_payment_info, add_shipping_info and purchase - to obtain an in-depth understanding of the entire buying process.
Optimized performance on Hyvä Theme 🚀
We've improved the loading of external JavaScript module files to enhance page rendering speed and optimize extension performance. By deferring the loading of these files until necessary, we prevent delays in page loading. Now, scripts like Google Tag Manager and Google Analytics load only when the user interacts with the page, providing a smoother experience. Additionally, this approach helps filter out bots from analytics, as they don't engage in the same interactions as human users.
Discover promotions performance
With this Magento GA4 Ecommerce extension, you can analyze promotion events to gain a deeper understanding of how customers engage with your store promotions and determine which ones are the most effective. Use this information to optimize your marketing efforts by creating targeted and engaging campaigns that speak directly to your audience's interests and preferences.
Track performance by brands
Use Magento 2 Google Tag Manager extension to track customer interactions on your website through brand-related events. Explore the data related to brand-specific attributes such as product name, price, color, size, etc. Gain insights into which brands are most popular among your customers and which brand products are performing well.
You also may use it with Magento 2.4 5. With Magento 2.4 5 ga4 you can smoothly enable comprehensive tracking of various aspects of customer interactions and product performance. It can monitor impressions and clicks on products, observe actions like adding items to the shopping cart and proceeding to checkout, keep track of customer account activities, evaluate the effectiveness of promotions, and generate JSON files effortlessly. It supports tracking both on the server and client sides, and integrates with Google AdWords for tracking conversions and remarketing efforts.
Magento 2 Google Analytics extension is an effective marketing tool to help store owners enable advanced e-commerce reports and send them to Google Analytics more easily.
Before starting to work with the extension you should connect your store with Amasty's Google Tag Manager and Google Analytics. You can do it by filling in the appropriate credentials in the following fields in the plugin's configurations. Magento 2 stores add Google Tag Manager script to facilitate further integration with the module.
Create a configuration under the AEM> Tools > Cloud Services Configurations > Google Tag Manager. You need to enter container ID, which can be found in the Google Tag Manager interface. Use the configuration on your top-level content page.
With Magento 2 Google Tag Manager you can track the behavior of the customers coming onto your website by integrating the feature of GA4. Easily configure Google Tag Manager on your Magento 2 website with enhanced e-commerce using of Google Tag Manager on your Magento store.
Magento 2 GA4 data layer is a structured way of collecting and sending eCommerce events, user interactions, and conversion data from your Magento 2 store to Google Analytics 4 (GA4). By implementing the Magento 2 GA4 data layer, you can gain deeper insights into customer behavior, optimize marketing campaigns, and enhance the overall performance of your online store.
Magento Analytics Integration gives store owners accurate insights into customer behavior, sales performance, and marketing effectiveness. It helps you track detailed visitor interactions, monitor conversions, measure advertising effectiveness, and identify opportunities to improve user experience. With precise analytics data, store owners can optimize marketing strategies, boost conversion rates, and make informed, data-driven business decisions.
Magento 2 Google Analytics eCommerce tracking gives you comprehensive insights into user activity, conversions, and overall sales. By collecting these metrics, you can better understand customer behavior, optimize product pages, refine marketing campaigns, and ultimately boost your store’s revenue. This data-driven approach allows you to make informed decisions that enhance both the shopping experience and your bottom line.
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a Magento 2 compatibility issue with any third-party module, we’ll definitely try to help you.
If you face any technical issues, please create a ticket...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
Amasty doesn’t provide any trials of Magento extensions.
There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
Amasty offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
We are now working at a loyalty program for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay ...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
Updating an Amasty extension follows the same process as installing a module. To update a single extension:Run the following command to update a specific Amasty extension:composer update amasty/<module-name> To update multiple extensions:You can...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form:
As soon as you send your request, it is considered by our ...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
Amasty extension packages include all necessary files, setup guides, and a license agreement, with some even offering example import files to simplify the process.Important: Since January 14, 2025, all Amasty extensions will only be available for installation...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
Was this answer helpful?Yes|Nopeople offound this answer helpful
Rate the answer?
Loading
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually.
→ Learn more about our special offers
I always buy plugin from two providers for our M2 stores and Amasty is always our 1st priority for their quality
Amasty answer
Hi Siddharth, thank you for your loyalty and trust! We're honored to be your first choice for Magento 2 plugins and thrilled that you value our quality. We look forward to continuing to support your success!
ND
Verified Buyer
Great extension
100%
We are satisfied with the performance of the GA4 extension from Amasty. The setup wasn't too difficult, and it seems to be working great. No complaints.
Amasty answer
Hi ND! We're glad to hear you're satisfied with the GA4 extension and that the setup went smoothly. It's great to know everything is working well for you. If you have any questions in the future, we're here to assist!
Felix E-Commerce Manager
Verified Buyer
Works excellent out of the box
100%
The GA4 extension runs excellently in combination with Magento 2 and the other Amasty extensions. Fills the data layer completely and correctly without any adjustments with the out of the box configuration. From our side 5 stars!
Amasty answer
Hi Felix, thank you for the fantastic review and the five stars! We're thrilled to hear that our GA4 extension is running excellently in your store. We continuously strive to enhance our products with regular updates to ensure they remain convenient and effective for our customers.
Tiago Array42, Developer, CEO
Easy setup, accurate tracking insights
100%
I've been using this module for about 7 months. The setup was easy. One of the standout features for me is how it enhances Google Ads conversion tracking. I would recommend it to anyone who needs to use any Google tracking including Google Tag Manager since it makes it easy to integrate any other 3rd party Javascript.
Amasty answer
Hi Tiago, thank you for sharing your experience! We're happy to hear that you found our module helpful and that it's providing you with needed tracking insights. We strive to make tracking seamless and accurate for our users, and we're glad to hear that it's working well for you. If you ever need further assistance or have any questions, don't hesitate to reach out. Thank you for your feedback and recommendation!
João Paulo Simbolika
Verified Buyer
Simple & Powerful: Amasty's Plugin for Google Analytics Integration
100%
The Amasty plugin for Google Analytics integration is simply fantastic! It effortlessly connects my Magento 2 to Google Analytics and Google Tag Manager, providing valuable insights into customer behavior and website performance. The setup was quick, and the plugin's reliability has been impeccable. I highly recommend it to all e-commerce businesses looking to boost their analytics capabilities. Kudos to Amasty for creating such a powerful yet user-friendly tool!
Amasty answer
Hi João Paulo, thank you very much for your detailed feedback! It's great to hear that you enjoy our Google Analytics 4 extension! We sincerely appreciate your kind words and delighted to have played a part in boosting your analytics capabilities. Don't hesitate to reach out if you have any questions or need further assistance!
Google Analytics 4 with GTM Support Hyva Compatibility
Google Analytics 4 with GTM Support Hyva Checkout Compatibility
Version 2.3.4Last Update: Mar 31, 2025
2.3.4 - Mar 31, 2025
Compatibility updated the module to fully comply with the Hyvä and Hyvä Checkout Content Security Policies (Note: Hyvä Theme compatibilities are available with an active product subscription or support subscription)
2.3.3 - Jan 27, 2025
Fix resolved compatibility issues with Ajax Shopping Cart and products are now added to the cart without errors when the 'After Adding a Product Redirect to Shopping Cart' setting is enabled
2.3.2 - Jan 21, 2025
Fix corrected the problem with the incorrect order of categories
2.3.1 - Oct 17, 2024
Improvement we added a check for spaces in the container ID input fields to reduce the likelihood of errors during form completion
Fix issues with the 'select_item' event tracking were resolved
2.3.0 - Sep 30, 2024
Improvement we enhanced Custom Dimension tracking by adding support for both Item-Scoped and Event-Scoped Dimensions
Fix the "add_to_cart" event is now correctly triggered when the "After Adding a Product Redirect to Shopping Cart" setting is enabled
Fix resolved compatibility issues with Amasty GDPR and eliminated errors that occurred after deleting cookies in the browser
Version 2.2.0Last Update: Jul 16, 2024
2.2.0 - Jul 16, 2024
New we added the possibility to track custom dimensions such as 'Reviews Count' and 'Reviews Score
Compatibility compatibility with Promo Banners was added, so now it is possible to track the interaction with banners in Google Analytics 4
Improvement we improved Google AdWords Remarketing tracking by adding support for Dynamic Remarketing
Improvement we expanded the list of events for tracking via the Measurement Protocol
Fix fixed the issue with tracking the 'purchase' event
Version 2.1.1Last Update: Apr 19, 2024
2.1.1 - Apr 19, 2024
2.1.1
Compatibility now the extension is compatible with Magento 2.4.7
2.1.0 - Mar 28, 2024
New we added compatibility with Google Enhanced Conversion (Note: the release version is temporarily not available on Hyvä Theme)
Improvement according to Google recommendations we added parameter 'value' and 'currency' to the following events: 'add_to_cart', 'add_to_wishlist' and 'remove_from_cart'
Improvement the ability to exclude taxes from events involving product price was added
Fix we fixed the issue with the GTM Server Container URL subdomain
Fix we corrected the tracking of the 'remove_from_cart' event based on whether the Parent or Child Identifier is selected
Fix we solved the issue with the set of accepted cookies when the JavaScript code was moved to the bottom of the page
Fix we eliminated the issue with incorrect customer ID in the dataLayer when Varnish is enabled
Version 2.0.0Last Update: Feb 29, 2024
2.0.0 - Feb 29, 2024
Improvement we separated the compatibility functionality with Consent Mode V2 in a distinct package. You can find the 'amasty/module-google-consent-mode' package for installing in composer suggest
Version 1.5.0Last Update: Feb 15, 2024
1.5.0 - Feb 15, 2024
Compatibility the compatibility with Hyvä Checkout was added. You can find the 'amasty/module-ga4-hyva-checkout' package for installing in composer suggest (Note: the compatibility is available as a part of an active product subscription or support subscription)
Version 1.4.0Last Update: Feb 12, 2024
1.4.0 - Feb 12, 2024
Compatibility now the extension is compatible with the Consent Mode V2
Fix we eliminated the error that occurred on a website Home Page
Version 1.3.0Last Update: Jan 22, 2024
1.3.0 - Jan 22, 2024
New the possibility to track Google AdWords Remarketing was added
New Tracking via Measurement Protocol was added so now it is possible to track refunds
Improvement the 'select_item' event is now tracked in analytics when opening products from widgets
Fix we fixed the 'add_to_cart' event tracking
Fix now the message about adding an item to the cart is displayed as it should
Version 1.2.0Last Update: Nov 22, 2023
1.2.0 - Nov 22, 2023
Compatibility we added the compatibility with Hyvä Theme for Google Analytics 4 with GTM Support. You can find the 'amasty/module-ga4-hyva' package for installing in composer suggest (Note: the compatibility is available as a part of an active product subscription or support subscription)
Version 1.1.0Last Update: Aug 11, 2023
1.1.0 - Aug 11, 2023
New the possibility to track Google AdWords Conversion was added
Compatibility we added compatibility with Amasty Cookie Consent so now it is possible to send data to GA4 using conversion modeling and behavior modeling if the user declined cookies (Note: access to this feature will be enabled once you update the module Cookie Consent (GDPR) to the version, 2.10.1 or newer)
Improvement now 'Sign Up' via Amasty One Step Checkout is being tracked in the GA4
Improvement ‘purchase’ event is now tracked in GA4 when placing an order with multishipping
Fix we fixed the issue with sorting on the search results page
Version 1.0.1Last Update: Jun 29, 2023
1.0.1 - Jun 29, 2023
Fix we eliminated the error occurred on category pages after the module installation on PHP 7.4
1.0.0 - Jun 23, 2023
New Initial release. The module is available for installation
Version 1.2.0Last Update: Mar 31, 2025
1.2.0 - Mar 31, 2025
Compatibility updated the module to fully comply with the Hyvä Content Security Policy
Version 1.1.7Last Update: Mar 03, 2025
1.1.7 - Mar 03, 2025
Fix now the 'remove_from_cart' event is correctly tracked when items are removed from the mini cart
1.1.6 - Jan 08, 2025
Compatibility compatibility with Promo Banners is now also available for the Hyvä Theme
Improvement now, the functionalities for Tracking via Measurement Protocol, Dynamic Remarketing, and Tracking Reviews Count and Score are also available for the Hyvä Theme
1.1.5 - Aug 01, 2024
Fix we fixed compatibility with Amasty Request a Quote, so there are now no issues with adding items to the cart
1.1.4 - Jun 18, 2024
Fix we fixed the compatibility issue with Amasty AJAX Shopping Cart and Request a Quote, so now editing the quote cart works as it should
1.1.3 - May 29, 2024
Fix we eliminated the error that occurred when removing a product from the Quote cart
1.1.2 - May 28, 2024
Fix now the 'select_item' and 'view_cart' events are tracked as they should
1.1.1 - May 16, 2024
Compatibility the extension with the Hyvä Theme is compatible with Magento 2.4.7
Compatibility now compatibility with Google Enhanced Conversion is also available for Hyvä Theme
Fix we fixed the error that occurred when removing a product from the cart
1.1.0 - Mar 18, 2024
Compatibility we fixed the compatibility with Consent Mode V2 for Hyva Theme with the latest module version (2.0.0)
Improvement we optimized the loading of external JavaScript module files to prevent issues with blocking the page rendering process
Version 1.0.2Last Update: Feb 27, 2024
1.0.2 - Feb 27, 2024
Fix the backend logic for a product adding to the cart was amended to avoid issues with incorrect quantities of items
1.0.1 - Jan 15, 2024
Fix we added the compatibility with Amasty GDPR Hyvä Them to improve the Consent Mode functionality
1.0.0 - Nov 22, 2023
Initial Release
Version 1.1.0Last Update: Mar 31, 2025
1.1.0 - Mar 31, 2025
Compatibility updated the module to fully comply with the Hyvä Checkout Content Security Policy
Version 1.0.1Last Update: May 03, 2024
1.0.1 - May 03, 2024
Fix the security vulnerability was resolved by detecting corrupted data
1.0.0 - Feb 15, 2024
Initial Release
Related Products
We would like to inform you that our Privacy Policy has been amended.Please, read and accept the new terms.
Loading
We use cookies to help improve our services, make personal offers, and enhance your experience. If you do not accept optional cookies below, your experience may be affected. If you want to know more, please read the Cookie Policy
Login and Registration Form