Google Analytics 4 ecommerce tracking
Many carts like Shopify, Magento 2 or Woocommerce have great plugins which you can easily enable the ecommerce tracking.
For other apps it is a little bit complicated than it used to be in the Universal Analytics.
Google suggests to use Google Tag Manager for adding ecommerce measurement.
Actually it is true and we modify tags there.
These are steps:
Measure ecommerce events with the GA4 Event tag
- In your workspace, open the Tags menu.
- Create a New tag. Click the Tag Configuration box and select the Google Analytics: GA4 Event tag.
- For Event Name use the built-in variable {{Event}}. This will use the GA4 ecommerce event name sent using the gtag.js API.
- Under More Settings > Ecommerce, check Send Ecommerce data.
- For Data Source select Data Layer.
- Set up a trigger for the GA4 Event, for example when a user clicks a checkout button. See all available trigger types.
- Name and Save the tag.
A typical ecommerce implementation measures any of the following actions – from Google Support:
- Select an item from a list
- View item details
- Add/remove a product from a shopping cart
- Initiate the checkout process
- Make purchases or refunds
- Apply promotions
Analytics conversions have been renamed “key events”
Key events in Google Analytics measure the interactions most important to your business. For example, you could mark an important event like a purchase or newsletter subscription as a key event. This will appear as a key event metric in Analytics reports.
Conversions can be created from key events to help measure and optimize your ad campaigns. These conversions are shared between Google Ads and Google Analytics for consistent reporting, and are eligible for bidding in Google Ads.
Here’s what you’ll see in Analytics reports and settings:
- An event measures a specific behavioral interaction on your website or app.
- A key event is an event that you mark as important to your business. Key events appear in Analytics reports but aren’t directly eligible for reporting or bidding in Google Ads.
- A conversion created from an Analytics key event is eligible for reporting and bidding in Google Ads, and also appears in Analytics Advertising reports.
In the future, the Advertising section of Analytics will include new features for advertisers, including additional conversion reporting and tool.
This is the example of key events tracked in Magento 2 online shop with a Welt GA4 plugin.
Other shopping carts
It is a very similar approach for Google Analytics 4 setup.
Prestashop has an extension – Google Analytics 4 API. You need to modify these files to enable a multisite tracking
Woocommerce has built-in API settings, where you can configure everything.
We can help with correct settings. Please feel free to contact us.
Leave a Reply
Want to join the discussion?Feel free to contribute!