By El Ghali Bennis · Published
GA4 Ecommerce Funnel Tracking: Find Where Sales Leak
Set up GA4 ecommerce events, build a funnel exploration, and find exactly where customers drop off at checkout, with a GTM code sample.
GA4 ecommerce funnel tracking means recording each shopping step as an event (view_item, add_to_cart, begin_checkout, purchase) and then charting how many visitors survive each step. Once those events fire correctly, GA4's funnel exploration shows your drop-off rate at every stage, so you know which step to fix first.
Most small stores check revenue and sessions, then guess at the rest. That's like running a shop with the door camera switched off. This guide covers the events you need, how to check they work, how to build the report, and how to read the numbers without fooling yourself.
What does a GA4 ecommerce funnel actually measure?
A GA4 ecommerce funnel measures the share of users who move from one shopping step to the next. Each step is an event that GA4 records, and the gap between two steps is your drop-off. It's the fastest way to see whether your problem is traffic, product pages, or checkout.
The standard path has five stages. Each maps to a recommended event in Google's GA4 ecommerce measurement guide:
- Session start – the visitor lands on your store.
- view_item – they open a product page.
- add_to_cart – they put something in the basket.
- begin_checkout – they start paying.
- purchase – the order completes.
Optional steps add detail: view_item_list, add_shipping_info, and add_payment_info. For ga4 for small online stores, the five core steps are plenty. Add the optional ones when checkout is your known leak.
Why funnels beat a single conversion rate
A 2% conversion rate tells you nothing about why. A funnel splits that 2% into pieces. As an illustration, say 40% of visitors view a product, 8% of those add to cart, 50% of those begin checkout, and 60% of those buy. Now you can see the weakest link is product-page-to-cart, not checkout. Different problem, different fix.
Which GA4 ecommerce events do you need?
You need at least four ga4 ecommerce events: view_item, add_to_cart, begin_checkout, and purchase. Each should carry an items array with item ID, name, price, and quantity, plus currency and value on the purchase. Without those parameters, the reports show counts but no revenue context.
| Event | Fires when | Key parameters |
|---|---|---|
| view_item | A product page loads | items, currency, value |
| add_to_cart | Shopper clicks add to cart | items, currency, value |
| begin_checkout | Checkout page opens | items, currency, value, coupon |
| add_shipping_info | Shipping step submitted | items, shipping_tier |
| add_payment_info | Payment step submitted | items, payment_type |
| purchase | Order confirmed | transaction_id, value, currency, items |
The ga4 view_item event
The ga4 view_item event should fire once per product page view, not once per click. It's your funnel's real top, because a homepage visit proves little about buying intent. If your view_item count is far lower than your product page views in the Pages report, the tag is misfiring.
The ga4 add to cart event
The ga4 add to cart event fires on the click, not on cart page load. Check that it also fires from quick-add buttons on collection pages and from upsell widgets. Stores that only track the main product button can undercount carts, so compare your add_to_cart count against your platform's own cart data.
The ga4 begin_checkout event
The ga4 begin_checkout event fires when a shopper enters checkout. Watch for double firing on one-page checkouts that reload. Duplicate events inflate this step and hide real checkout abandonment. Always include transaction_id on purchase so GA4 can dedupe orders.
How do you do a GA4 enhanced ecommerce setup?
GA4 doesn't have a separate "enhanced ecommerce" toggle like Universal Analytics did. A ga4 enhanced ecommerce setup simply means sending the recommended ecommerce events with full item data. You do it through your platform's built-in integration, Google Tag Manager, or custom code.
Step 1: Pick your installation method
- Platform integration. Shopify, WooCommerce, and BigCommerce offer native or plugin-based GA4 connections. Quick, but event coverage varies, and plugins can slow your pages.
- Google Tag Manager. Push a data layer on each page and map it to GA4 event tags. It's flexible, and it's the standard for custom setups.
- Direct code. Send events with gtag.js. Cleanest for custom builds, but you own the maintenance.
Example: a Google Tag Manager data layer push
With Tag Manager, your site pushes an event into the data layer and a GA4 event tag reads it. Here is the pattern for add_to_cart, following the format in Google's documentation (the product values are placeholders):
window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null }); // clear the previous object
dataLayer.push({
event: "add_to_cart",
ecommerce: {
currency: "USD",
value: 24.00,
items: [{
item_id: "SKU_123",
item_name: "Soy Candle",
price: 24.00,
quantity: 1
}]
}
});
In Tag Manager, create a Custom Event trigger named add_to_cart, then a GA4 Event tag with the same event name. Tick Send Ecommerce data and set the data source to Data Layer. Clearing ecommerce to null first stops items from a previous push leaking into the next event. Repeat for view_item, begin_checkout, and purchase.
Step 2: Verify events in DebugView
Open Admin, then DebugView, and walk through your own store with a test order. Confirm each event appears in sequence with the right items array and value. Do this on mobile too, since mobile checkout is where tracking tends to break.
Step 3: Mark purchase as a key event
In Admin, open Events and toggle purchase as a key event (GA4's term for what used to be called a conversion). Funnels work without this, but attribution and acquisition reports need it.
Step 4: Wait 24 to 48 hours
Standard reports lag. DebugView is instant, but the Monetization reports need a day or two to populate. Don't judge your setup from the first afternoon of data.
If you're still deciding where to host the store, note that tracking depends on your platform. Shopify's cost of apps adds up fast, as covered in our look at Shopify analytics apps and what they cost, and our breakdown of Shopify analytics plans shows which tier unlocks which reports.
How to build a GA4 funnel exploration
A ga4 funnel exploration is a custom report in the Explore tab that lines up your events as steps and shows completion and abandonment at each one. It takes about ten minutes to build and it's the core of any ga4 purchase funnel report. Google explains the options in its funnel exploration help page.
- Go to Explore and choose Funnel exploration.
- Click the pencil next to Steps.
- Add step one:
session_start(orfirst_visitfor new users only). - Add step two:
view_item. - Add step three:
add_to_cart. - Add step four:
begin_checkout. - Add step five:
purchase. - Switch on Show elapsed time to see how long shoppers take between steps.
- Set Make open funnel to Yes if people might enter mid-way, for example via a direct link to a product.
Open versus closed funnels
A closed funnel only counts users who start at step one. An open funnel lets users enter at any step. For stores, open is usually more honest, because email and ad traffic often lands straight on a product page. Check both and compare.
Segment the funnel
Use the Breakdown field to split by device category, then by source or medium. Stores often find a large gap between desktop and mobile, for instance 4.5% versus 1.2% (an illustrative split, not a benchmark). A gap like that is worth more than any homepage redesign. Add a segment for new versus returning users to see whether trust or friction is the issue.
Going deeper: trended funnels and BigQuery
Funnel exploration has limits: it uses a capped date range and some data may be sampled on large properties. Two options help. First, switch on Trended funnel in the visualization setting to see each step's completion over time, which shows whether a fix actually worked. Second, link GA4 to BigQuery (Admin, Product links, BigQuery links), which exports raw event data for free within daily limits. Then you can query exact counts of users per event and join them with your order data. Most small stores don't need this, but it's the route when you want unsampled numbers or custom step logic. Google documents the export schema in its BigQuery Export help page.
How to find where customers drop off in checkout
To find where customers drop off checkout, add add_shipping_info and add_payment_info between begin_checkout and purchase in your funnel exploration. The step with the biggest percentage loss is your leak. This doubles as a ga4 checkout abandonment report.
Cart abandonment is high everywhere. According to the Baymard Institute's cart abandonment rate statistics, the average documented online cart abandonment rate sits near 70%. So don't panic over a 65% ecommerce funnel drop-off rate between cart and purchase. Panic when one step is far worse than its neighbors, or when mobile lags desktop badly.
Read the drop-off like a diagnostic
| Where the drop is | Likely cause | First fix to try |
|---|---|---|
| view_item to add_to_cart | Weak product page, unclear price, poor photos, no reviews | Better images, reviews, clear shipping info |
| add_to_cart to begin_checkout | Surprise costs, forced account, cart UX | Show shipping early, enable guest checkout |
| begin_checkout to add_shipping_info | Long forms, unexpected shipping cost | Fewer fields, address autofill, free-shipping threshold |
| add_shipping_info to add_payment_info | Limited delivery options, slow load | More delivery options, speed up the step |
| add_payment_info to purchase | Payment failures, lack of trust, missing wallets | Add PayPal, Apple Pay, Google Pay; test card errors |
Cross-check with other GA4 reports
The funnel tells you where. Other reports hint at why. Under Reports, Monetization, Ecommerce purchases, check which products have high views but low cart adds. Under Tech, compare browsers and devices. A sudden drop-off on one browser often signals a broken payment script, not shopper behavior.
Calculate your own drop-off rate
The formula is simple: (users at step N minus users at step N+1) divided by users at step N. If 500 users begin checkout and 150 purchase, the drop-off is 70%. Track this weekly. A single week is noise; four weeks of the same step getting worse is a signal.
Common GA4 funnel tracking mistakes to avoid
The most common mistakes are double-firing events, missing item parameters, and ignoring sample size. Any one of them can send you chasing a problem that doesn't exist.
- Duplicate purchase events. Reloading the thank-you page re-fires purchase. Always send a unique
transaction_id. - Cross-domain breaks. If checkout lives on a different domain, sessions split and your sources turn into "referral" from your own payment page. See the fix below.
- Consent mode gaps. If a cookie banner blocks analytics for part of your traffic, your funnel shows only consenting users. See the setup notes below.
- Tiny samples. With 30 checkouts a month, a 10-point swing is a handful of people. Wait for at least a few hundred sessions per step before drawing conclusions.
- Comparing against the wrong benchmark. Your drop-off should be compared with your own history and your own device split, not a generic number.
- Forgetting internal traffic. Filter your own test orders in Admin, Data Streams, so your debugging doesn't pollute the funnel.
Fixing cross-domain tracking
If shoppers move from yourstore.com to a hosted checkout such as checkout.paymentprovider.com, GA4 needs to carry the same client ID across. Follow these steps:
- Open Admin, then Data Streams, and select your web stream.
- Choose Configure tag settings, then Configure your domains.
- Add every domain involved, including the checkout domain, as a match condition.
- Save, then test by clicking from product page to checkout and confirming in DebugView that the session continues.
- Add the checkout domain to List unwanted referrals so it stops showing as a traffic source.
Google covers this in its cross-domain measurement guide.
Setting up consent mode
Consent mode lets GA4 adjust its behavior based on what a visitor accepts in your cookie banner. In basic terms: connect a consent management platform that supports Google consent mode, set defaults for analytics_storage and ad_storage to denied for regions that require it, and have the banner update them to granted when the shopper accepts. In advanced mode, GA4 receives cookieless pings from non-consenting users and uses them for modeled estimates, which helps fill part of the gap. Modeling needs enough volume to activate, so very small stores may still see only consented traffic. Check Admin, Data collection and the consent status in Tag Assistant to confirm signals fire before your tags do.
A hypothetical example
The numbers below are invented to show how to read a funnel, not real store data. Picture a small candle store with 6,000 monthly sessions. The funnel shows 2,400 view_item, 240 add_to_cart, 120 begin_checkout, and 54 purchase. The weak spot isn't checkout (45% completion is decent). It's the 10% view-to-cart rate. The owner adds reviews and a clearer scent description to the top three products. Suppose cart adds rise to 13% over the following month and purchases follow. Nothing in checkout would need to change.
Turning funnel data into higher conversion
Funnel data only pays off when you change something and measure again. Pick the single worst step, change one thing, and give it two to four weeks before judging.
A practical rhythm for a small store:
- Review the funnel every Monday, split by device.
- Pick the step with the biggest gap versus last month.
- Form one hypothesis (for example, "shipping cost surprise at checkout").
- Make one change.
- Compare the same step four weeks later.
Many of the fixes above, like abandoned cart emails, wishlists, and reviews, need extra apps on some platforms. If you're weighing that tradeoff, our guide to picking an ecommerce builder covers what ships built in and what doesn't, and the piece on whether AI websites rank on Google helps with the traffic side of the funnel. If you're still filling the top of the funnel, which products to feature on your homepage and how to add products to your online store both affect view_item and add_to_cart rates.
Questions store owners ask
Is GA4 free for small stores? Yes. Standard GA4 is free, per Google's Analytics pricing information. Paid features sit in Analytics 360, which small stores rarely need.
Why don't my funnel numbers match my store dashboard? Ad blockers, consent banners, and browser privacy tools stop some events. Expect GA4 to under-report orders by a modest margin. Use your store's order data as the source of truth and GA4 for percentages between steps.
How much data do I need? Aim for a few hundred users at each step before acting. Below that, look at trends over longer windows.
Can I track funnels without Google Tag Manager? Yes. Native platform integrations or direct gtag code work. Tag Manager just makes changes easier without a developer.
Get the funnel working, then fix the leak
GA4 ecommerce funnel tracking comes down to four moves: send the core events with full item data, test them in DebugView, build a funnel exploration split by device, and fix the one step that leaks most. Do that monthly and you'll stop guessing.
If you'd rather not wire up events and stack apps yourself, Rovela builds a complete store from a plain-language conversation, with checkout, abandoned cart recovery, reviews, and analytics included in one flat subscription. See the details on the pricing page or start at rovela.ai.
