cancel
Showing results for 
Search instead for 
Did you mean: 

Magento and Google Analytics 4 (GA4) Creating Events and Conversions

Magento and Google Analytics 4 (GA4) Creating Events and Conversions

Does anyone know how to create basic e-commerce events for conversions in GA4? Things like 'add to cart', 'purchase' etc. 

 

Magento does not have any documentation yet for GA4 and was hoping to get some basic events and conversions set up.

 

3 REPLIES 3

Re: Magento and Google Analytics 4 (GA4) Creating Events and Conversions

You can consider creating events in GA4 which you can then use with your Magento store: https://support.google.com/analytics/answer/10085872

 

There are also a bunch of Magento extensions that can simplify this process for you. Here's an example from the Magento Marketplace: https://marketplace.magento.com/weltpixel-module-google-tag-manager.html

 

Best of luck!

Re: Magento and Google Analytics 4 (GA4) Creating Events and Conversions

Regarding your query please check the below link.

https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm

 

We have successfully implemented GA4 and created a comprehensive guide for it.

https://www.scommerce-mage.com/blog/how-to-setup-magento-2-ga4google-analytics-4.html

 

Re: Magento and Google Analytics 4 (GA4) Creating Events and Conversions

To set up basic e-commerce events in GA4 for Magento:

1. Install GA4 or GTM on Magento. Use GTM for easier management.
2. Create Data Layer for events like 'add_to_cart' and 'purchase'.
3. If you are using GTM, then setup tags and triggers in GTM.
4. Mark keyevent for purchase if you want.

Refer this guide: https://developers.google.com/analytics/devguides/collection/ga4/set-up-ecommerce

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.