Google Analytics · Tracking

How to Set Up Ecommerce Tracking in GA4

For an online shop, ecommerce tracking turns GA4 into a revenue tool. Here is how to set it up, the ecommerce events to send, using a data layer or platform integration, and where to read the results.

Updated: July 2026
Written by: Andrew Odgers, Managing Director
Reading time: 9 minutes
The short answer

Set it up by sending GA4's ecommerce events, like view_item, add_to_cart and purchase, via a data layer or platform integration. The key events map the funnel: product views, add to cart, begin checkout, purchase. A data layer reliably passes product and order details, often built automatically. Data appears in the Monetisation reports. Tracking measures sales but does not increase them by itself.

Turn GA4 into a revenue tool

How to set it up, and the events that matter

You set up ecommerce tracking by sending GA4's ecommerce events, like view_item, add_to_cart and purchase, usually via a data layer or a platform integration that populates them. It follows a standard schema; because GA4 expects specific events, matching that schema is the key to accurate data, building on how you set up events. The essential events are product views, add to cart, begin checkout and purchase, since together they map the shopping journey and reveal where people drop off. They cover the funnel; because they show each stage, they highlight exactly where sales are lost.

EC 01

Standard events

View, cart, purchase.

EC 02

Data layer

Passes the details.

EC 03

Monetisation

Where sales show.

Data layer, reports and honesty

Whether you need a data layer, where to read it, and an honest limit

A data layer is the reliable way to pass product and order details to GA4, though many platforms and plugins build one for you automatically. It structures the data; because it standardises what is sent, a data layer keeps ecommerce tracking consistent, and platform guides for Shopify often handle it. Ecommerce data appears in GA4's Monetisation reports, showing revenue, top products, and purchase behaviour once events are firing correctly. It is a dedicated section; because it collects the ecommerce events, the Monetisation report is where you analyse sales performance. Tracking measures sales and shows where the funnel leaks, but improving revenue depends on acting on those insights. Data reveals, it does not sell; because growth comes from fixing what the data exposes, tracking is the start rather than the result.

SEO done properly, from £350 a month

See where your
sales leak.

We set up ecommerce tracking so you can see exactly where shoppers drop off and revenue is lost, then help you fix the leaks and grow sales.

Everything included in your plan:

Google Maps optimisation Full website management Local SEO campaign AI optimisation (GEO) Facebook, Instagram and LinkedIn Quarterly audits Monthly reporting
£350 per month

One clear retainer. No setup fee.

Frequently asked

Ecommerce tracking in GA4

How do you set up ecommerce tracking in GA4?
You set it up by sending GA4's ecommerce events, like view_item, add_to_cart and purchase, usually via a data layer or a platform integration that populates them. It follows a standard schema. Because GA4 expects specific events, matching that schema is the key to accurate data.
What ecommerce events matter most?
The essential events are product views, add to cart, begin checkout and purchase, since together they map the shopping journey and reveal where people drop off. They cover the funnel. Because they show each stage, they highlight exactly where sales are lost.
Do you need a data layer?
A data layer is the reliable way to pass product and order details to GA4, though many platforms and plugins build one for you automatically. It structures the data. Because it standardises what is sent, a data layer keeps ecommerce tracking consistent.
Where do you see ecommerce data?
Ecommerce data appears in GA4's Monetisation reports, showing revenue, top products, and purchase behaviour once events are firing correctly. It is a dedicated section. Because it collects the ecommerce events, Monetisation is where you analyse sales performance.
Does tracking sales increase revenue?
No, tracking measures sales and shows where the funnel leaks, but improving revenue depends on acting on those insights. Data reveals, it does not sell. Because growth comes from fixing what the data exposes, tracking is the start rather than the result.