Setting Up Google Analytics 4 E-commerce Tracking
As Google introduced the new generation of Google Analytics which is called Google Analytics 4, and will 'sunset' the old version (Universal Analytics), Oncord has now removed the support for Universal Analytics e-commerce tracking to avoid potential technical issues.
Therefore, it's important to make the move over to Google Analytics 4 as soon as possible to be able to enable the new e-commerce tracking function.
This article will instruct you how to set up Google Analytics 4 e-commerce tracking via:
Note: You can either use Google Tag (gtag.js) or Google Tag Manager to install Google Analytics 4 into your Oncord site. Please go to our help article to know how to install Google Tag Manager and Google Tag (gtag.js) tracking code into Oncord.
If you are Using Google Tag (gtag.js)
If you've installed Google Tag (gtag.js) properly on your site, Google Analytics 4 will automatically record an event called "purchase" every time when there is an order has been made in your online store.
The event "purchase" is marked as a conversion as default in Google Analytics 4, and you can see the
configuration of the conversions by navigating to:
Your Google Analytics 4 Account > Configure > Conversions
If you are Using Google Tag Manager
To get started, please make sure the Google Tag Manager tag has been installed on your site properly.
Step One: Create GA4 Configuration Tag
*To get your Google Analytics 4 Measurement id:
Step Two: Create GA4 E-commerce Event Trigger
Step Three: Create GA4 E-commerce Tag
Note: Don't forget to submit and publish the changes when you've finished the configuration in Google Tag Manager.
View the Results
To see the conversion data report, navigate to:
Your Google Analytics 4 Account > Reports > Engagement > Conversions
To view the e-commerce data report, navigate to:
Your Google Analytics 4 Account > Reports > Monetisation > Monetisation Overview
Note: It may take up to 48 hours to update the conversions data on your report page.