Skip to content

E-commerce checkout funnel: step-by-step drop-off analysis with GA4

Guide

By Boris Parov19 min read

Lire cet article en français

A checkout funnel analysis in GA4 counts sessions per step: product viewed, cart filled, checkout started, order paid. On Google's public sample, January 2021, 4,537 sessions added an item to the cart and 1,115 purchased. This guide splits that gap by step, by device, and by what the visitor did next.

QuestionWhere the answer is
Which events do I need, and what breaks them?The GA4 e-commerce events that build the funnel, from view_item to purchase
Is my abandonment rate normal?Cart abandonment rate: the public benchmarks, and why yours only compares to itself
How do I count abandonment without inflating it?Measuring cart abandonment with GA4 and BigQuery without overstating it
Why does the GA4 report show bigger losses than my SQL?Closed or open funnel: why the GA4 report overstates your losses
Did they leave, or just go elsewhere on the site?Drop-off by step, and the ones who wandered: three kinds of visitors
How long does checkout really take?Checkout duration in GA4: measured in minutes, not pages
Which checkout step loses buyers?Shipping, payment, account creation: where checkout breaks
Where are the gaps between devices, channels, and countries?Conversion rate by device, channel, and country: reading the gaps that matter
Which step should I fix first?Funnel leakage: which step gains the most from one more point of conversion

Which GA4 events build the checkout funnel?

The checkout funnel rests on six recommended Google Analytics 4 (GA4) e-commerce events. They are view_item, add_to_cart, begin_checkout, add_shipping_info, add_payment_info, and purchase. Each one is a row in the raw BigQuery export (BigQuery export, raw export). Each row carries its items, its parameters, and its session identifier. The funnel only exists once your SQL puts those rows in order.

A checkout funnel is an ordered sequence of e-commerce events that a session is expected to cross, from the product view to the purchase. Each step counts the sessions that reached it. The difference between two consecutive steps is the drop-off. The same six events, in the same order, give the same funnel in the GA4 interface and in SQL.

StepGA4 eventFires whenCommon trap
1view_itemA product page is displayedAlso fires on quick views on some sites
2add_to_cartAn item is added to the cartA quantity change can fire it again
3begin_checkoutCheckout startsMissing when checkout opens from a saved cart
4add_shipping_infoA shipping method is chosenOften fired together with begin_checkout, as on the sample
5add_payment_infoA payment method is chosenSkipped by one-click and wallet payments
6purchaseThe order is confirmedDuplicated on page reload if transaction_id is missing

Two events are optional in practice. Many sites fire add_shipping_info with begin_checkout, and wallet payments skip add_payment_info. A funnel with a step that never fires shows a 100% drop at that step. That drop is a tagging gap, not a behavior. The purchase event has its own trap: without a transaction_id, a page reload sends it twice. The funnel then ends with more purchases than orders. The items array must also be present on every step, or the funnel cannot be read by product. A funnel audit therefore starts by checking which events fire, how often, and with which parameters. The events, their required parameters, and the duplicates that inflate them are covered in The GA4 e-commerce events that build the funnel, from view_item to purchase.

How do you build the funnel in SQL on the BigQuery export?

The SQL funnel takes two moves: a flag per event and session, then a count per step. The session key is user_pseudo_id joined to the ga_session_id parameter. One session counts once at each step, however many times the event fired. The query runs on January 2021 of the public sample, 118,380 sessions.

The "open" columns count a session at any step it reached. The "closed" columns also require every previous step in the same session. The closed test here is set-based: it checks presence, not timestamps. A stricter version would require the events in time order.

The session key deserves one note. Being a parameter, not a column, ga_session_id is read from event_params with a subquery. A session that spans midnight is split across two daily tables. Its key stays the same, so the GROUP BY reassembles it.

WITH sessions AS (
  SELECT
    CONCAT(user_pseudo_id, '-', CAST((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS STRING)) AS session_id,
    LOGICAL_OR(event_name = 'view_item') AS viewed,
    LOGICAL_OR(event_name = 'add_to_cart') AS carted,
    LOGICAL_OR(event_name = 'begin_checkout') AS checked_out,
    LOGICAL_OR(event_name = 'add_shipping_info') AS shipped,
    LOGICAL_OR(event_name = 'add_payment_info') AS paid,
    LOGICAL_OR(event_name = 'purchase') AS purchased
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
  GROUP BY session_id
)
SELECT
  COUNT(*) AS sessions,
  COUNTIF(viewed) AS view_item_open,
  COUNTIF(carted) AS add_to_cart_open,
  COUNTIF(viewed AND carted) AS add_to_cart_closed,
  COUNTIF(checked_out) AS begin_checkout_open,
  COUNTIF(viewed AND carted AND checked_out) AS begin_checkout_closed,
  COUNTIF(shipped) AS add_shipping_info_open,
  COUNTIF(viewed AND carted AND checked_out AND shipped) AS add_shipping_info_closed,
  COUNTIF(paid) AS add_payment_info_open,
  COUNTIF(viewed AND carted AND checked_out AND shipped AND paid) AS add_payment_info_closed,
  COUNTIF(purchased) AS purchase_open,
  COUNTIF(viewed AND carted AND checked_out AND shipped AND paid AND purchased) AS purchase_closed
FROM sessions
StepSessions, open funnelSessions, closed funnel
All sessions118,380118,380
view_item23,10523,105
add_to_cart4,5374,531
begin_checkout2,1591,541
add_shipping_info2,1591,541
add_payment_info1,5601,143
purchase1,115833

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

Two readings matter. First, 1,115 purchases for 118,380 sessions is a 0.94% session conversion rate, rounded to two decimals. Second, add_shipping_info equals begin_checkout on the sample. The two events reach the same 2,159 sessions, so step 4 adds nothing. The order is also inverted. In most checkout sessions, the first add_shipping_info is timestamped before the first begin_checkout.

WITH sessions AS (
  SELECT
    CONCAT(user_pseudo_id, '-', CAST((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS STRING)) AS session_id,
    MIN(IF(event_name = 'begin_checkout', event_timestamp, NULL)) AS checkout_ts,
    MIN(IF(event_name = 'add_shipping_info', event_timestamp, NULL)) AS shipping_ts
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
  GROUP BY session_id
  HAVING checkout_ts IS NOT NULL
)
SELECT
  COUNT(*) AS checkout_sessions,
  COUNTIF(shipping_ts IS NOT NULL) AS with_add_shipping_info,
  COUNTIF(shipping_ts < checkout_ts) AS add_shipping_info_first
FROM sessions
Sessions with begin_checkout, January 2021Sessions
All checkout sessions2,159
With an add_shipping_info2,159
First add_shipping_info timestamped before the first begin_checkout1,673

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

A shipping step recorded before checkout starts is a tagging choice, not a behavior. Any duration or drop measured between those two events is therefore meaningless on the sample. A real site would show a drop between them, and that drop would be the delivery step.

Four rates to report, and what each one answers

A funnel table produces four rates worth reporting, and each one answers a different question. The session conversion rate says how much of the traffic buys. The cart rate says how much of the traffic shows intent. Cart abandonment and checkout abandonment say where intent is lost. Mixing them is the most common error in funnel reviews. A board slide showing a 0.94% conversion rate beside an 81.6% abandonment rate invites the wrong decision. One is per visit, the other per cart, and the slide has to say so.

A step conversion rate is the share of sessions at one step that reached the next step, within the same scope and window. It is always computed between two consecutive steps. A step conversion rate of 47.6% from cart to checkout means that 52.4% of cart sessions never started checkout.

RateFormulaJanuary 2021, public sampleQuestion it answers
Session conversion ratepurchase sessions / all sessions0.94%How much of the traffic buys?
Cart rateadd_to_cart sessions / all sessions3.8%How much of the traffic shows intent?
Checkout ratebegin_checkout sessions / all sessions1.8%How much of the traffic commits?
Cart abandonmentCart sessions without purchase / cart sessions81.6%How much intent is lost after the cart?
Checkout abandonmentCheckout sessions without purchase / checkout sessions48.4%How much commitment is lost in checkout?
Cart to checkout step ratebegin_checkout sessions / add_to_cart sessions47.6%Does the cart page do its job?

Rates derived on 2026-10-15 from the open funnel counts of January 2021 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data), rounded to one decimal, two for the session conversion rate.

Every rate in that table is per session, within January 2021. Change the unit to users, and every rate changes. Change the window to seven days, and the abandonment rates fall. A funnel report should state its unit and its window in its title. A rate without those two words cannot be compared to anything, including itself a month later.

Cart abandonment benchmarks: the public numbers, and why yours only compares to itself

The most cited public benchmark puts the average documented cart abandonment rate at 70.22%. That figure comes from 50 studies compiled by the Baymard Institute, updated 2025-09-22. On the public sample, January 2021, the session-level rate is 81.6%. That is 3,704 of the 4,537 cart sessions without a purchase in the session. Neither number says anything about your store.

Cart abandonment is the share of carts that did not end in a purchase, within a chosen scope and a chosen window. The scope is the session or the user; the window is the session, seven days, or thirty days. The rate depends on those two choices more than on the site.

What changes the rateEffect on the numberExample on the sample
Scope: session or userPer user is always lower8.3% of abandoned carts purchased in a later session
Cart definition: add_to_cart or view_cartview_cart counts fewer, later cartsSites without a cart page cannot use view_cart
Window: same session, 7 days, 30 daysLonger windows lower the rateLimited to January 2021 here, so 8.3% is a floor
Device and traffic mixMobile and paid social usually raise itDesktop 82.6%, mobile 80.4% on the sample
Tracking defectsMissing purchase events inflate itA duplicated or dropped event changes the ratio directly

A benchmark compiled from 50 studies mixes 50 scopes, 50 windows, and 50 traffic mixes. Some studies count users over a month; others count sessions on one day. The same store lands at very different rates depending on the method. The only rate your rate compares to is your own: same method, same filters, previous period. The public figures, and the questions to ask before quoting one, are in Cart abandonment rate: the public benchmarks, and why yours only compares to itself.

How do you measure cart abandonment without overstating it?

Cart abandonment is overstated whenever the scope of the count is narrower than the scope of the purchase. Two mechanisms cause most of the inflation. The first is a cart filled in one session and bought in a later one. The second is a closed funnel that drops sessions whose cart predates them. Both are visible in the raw export, with one query each.

The two mechanisms stack. A visitor fills a cart on Monday evening and leaves. On Tuesday morning, the same visitor opens the site, goes straight to checkout, and pays. A session-level rate counts Monday as an abandoned cart. A closed funnel also refuses Tuesday's purchase, because Tuesday's session has no add_to_cart. The visitor bought, and the report shows two losses and no sale.

Measuring without overstating means choosing a unit and a window, then applying both to every step. The unit is the user when the question is "do they buy". It is the session when the question is "does this page work". The window is at least seven days for a cart, because many carts convert the next day. The two sections that follow quantify each mechanism on the public sample.

Writing the unit and the window down

Cart abandonment is defined once, with its unit and its window, and every report applies that definition. Three questions call for three definitions, each correct for its question. The error is not choosing the session. The error is reporting the session rate as if it answered the user question.

QuestionUnitWindowReading on the public sample
Does the cart page work?SessionSame session81.6% of cart sessions did not purchase
Do visitors buy what they carted?User7 days or moreAt least 8.3% of abandoned carts bought later within January
Does the checkout work?SessionSame session48.4% of checkout sessions did not purchase

One definition per question, and the three sit side by side. A monthly review then reads the three lines together: the cart page, the buyer, and the checkout. When one of them moves and the other two do not, the cause is already narrowed down. A definition that changes between two reviews, even for a good reason, breaks that reading. The right home for those three sentences is the data model that feeds the reports, not a footnote. Each measure then carries its unit and its window in its name. A reviewer who reads "cart abandonment, session, same session" knows what the number means before reading it.

A cart in one session, a purchase in the next

On the public sample, January 2021, 309 of 3,704 abandoned-cart sessions belong to a later buyer. That is 8.3%, rounded to one decimal. A session-level rate counts them as lost; a user-level rate counts them as converted. The query joins each abandoned session to any later purchasing session of the same user_pseudo_id.

WITH sessions AS (
  SELECT
    user_pseudo_id,
    (SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS ga_session_id,
    MIN(event_timestamp) AS session_start_ts,
    LOGICAL_OR(event_name = 'add_to_cart') AS carted,
    LOGICAL_OR(event_name = 'purchase') AS purchased
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
  GROUP BY user_pseudo_id, ga_session_id
),
abandoned AS (
  SELECT user_pseudo_id, session_start_ts
  FROM sessions
  WHERE carted AND NOT purchased
),
recovered AS (
  SELECT DISTINCT a.user_pseudo_id, a.session_start_ts
  FROM abandoned a
  JOIN sessions later
    ON later.user_pseudo_id = a.user_pseudo_id
   AND later.purchased
   AND later.session_start_ts > a.session_start_ts
)
SELECT
  (SELECT COUNT(*) FROM abandoned) AS abandoned_cart_sessions,
  (SELECT COUNT(*) FROM recovered) AS purchased_in_a_later_session,
  ROUND(100 * (SELECT COUNT(*) FROM recovered) / (SELECT COUNT(*) FROM abandoned), 1) AS recovered_pct
MeasureSessions, January 2021
Abandoned-cart sessions (add_to_cart, no purchase)3,704
Of which the user purchased in a later session309
Share recovered in a later session8.3%

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

The window stops on January 31. Carts abandoned late in the month had no time to convert, so 8.3% is a floor. The user key is user_pseudo_id, a cookie. A buyer who switched devices, or cleared cookies, is also counted as lost. The cross-session share is larger on sites with accounts, saved carts, and reminder emails. Compute it before quoting any abandonment rate: it bounds the error of the session view. The full method, with the user-level rate and a seven-day window, is in Measuring cart abandonment with GA4 and BigQuery without overstating it.

Closed or open funnel: which one the GA4 report uses

The GA4 funnel exploration counts a user at a step only after the previous steps, in order. A closed funnel also requires them to enter at the first step. On the public sample, that rule removes 618 of the 2,159 sessions with a begin_checkout, or 28.6%. Those sessions had no add_to_cart of their own.

A closed funnel is a funnel in which a session counts at a step only after crossing every previous step, in the same session. An open funnel counts a session at any step it reached, whatever its entry point. The closed funnel measures a journey; the open funnel measures a step.

StepOpen funnelClosed funnelRemoved by closing
add_to_cart4,5374,5316
begin_checkout2,1591,541618
add_payment_info1,5601,143417
purchase1,115833282

The 282 purchases removed by closing are real orders: 25.3% of the month's purchases on the sample. They came from carts filled the day before, saved carts, or a checkout link in an email. A closed funnel report shows them as nothing. A step-by-step audit built on it then overstates every loss after the cart. Why the GA4 report does this, and how to read both, is in Closed or open funnel: why the GA4 report overstates your losses.

Three kinds of visitors at every step: continued, left, and "wandered"

At every funnel step, a session does one of three things. It continues to the next step, it ends at that step, or it ends elsewhere on the site. On the public sample, at the cart step, 34.0% continued, 25.5% left, and 40.5% "wandered". Most funnel audits report one number, the drop-off, which merges the last two.

"Wandered" is a visitor who, after a funnel step, did not reach the next step and ended the session on another page of the site, outside that step. The term covers the comparison shopper, the visitor blocked by a shipping question, and the one who went to read the return policy.

A leaver is a session that, after a funnel step, did not reach the next step and ended at that step: no page viewed after it, or a last page belonging to the step.

The three categories are exhaustive: every cart session is in exactly one of them. Leaving and wandering call for different fixes, so they are counted apart.

WITH events AS (
  SELECT
    CONCAT(user_pseudo_id, '-', CAST((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS STRING)) AS session_id,
    event_name,
    event_timestamp,
    REGEXP_EXTRACT((SELECT value.string_value FROM UNNEST(event_params) WHERE key = 'page_location'), r'^https?://[^/]+(/[^?#]*)') AS page_path
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
),
sessions AS (
  SELECT
    session_id,
    MIN(IF(event_name = 'add_to_cart', event_timestamp, NULL)) AS cart_ts,
    MAX(IF(event_name = 'page_view', event_timestamp, NULL)) AS last_page_view_ts,
    ARRAY_AGG(IF(event_name = 'page_view', page_path, NULL) IGNORE NULLS ORDER BY event_timestamp DESC LIMIT 1)[SAFE_OFFSET(0)] AS last_page,
    LOGICAL_OR(event_name = 'begin_checkout') AS checked_out
  FROM events
  GROUP BY session_id
  HAVING cart_ts IS NOT NULL
)
SELECT
  COUNT(*) AS cart_sessions,
  COUNTIF(checked_out) AS continued,
  COUNTIF(NOT checked_out AND last_page_view_ts > cart_ts AND last_page != '/basket.html') AS wandered,
  COUNTIF(NOT checked_out AND (last_page_view_ts IS NULL OR last_page_view_ts <= cart_ts OR last_page = '/basket.html')) AS left_site
FROM sessions
After the first add_to_cartSessionsShare, rounded to one decimal
Continued to begin_checkout1,54334.0%
Wandered: no checkout, last page outside the cart1,83640.5%
Left: no checkout, no page after the cart or a last page on the cart1,15825.5%
Total sessions with a cart4,537100%

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

The rule reads the last page of the session, as a step-by-step drop-off analysis does. A visitor who reopens the cart page and stops there left at the cart. A visitor who ends on a product page wandered. On the sample, the wanderers outnumber the leavers 1.6 to one at the cart. That changes the question from "why do they leave" to "where do they go". The answer is the page_location of the session's last page. The pages they wander to, and the three-way split at each step, are in Drop-off by step, and the ones who wandered: three kinds of visitors.

Checkout measured in minutes, not pages

A checkout is measured in minutes, from the first begin_checkout to the purchase of the same session. The distribution matters more than the average. On the public sample, half of the 1,115 converting checkouts took 3.1 minutes or less. Three quarters took 5.7 minutes or less, and 121 took more than 10 minutes. The GA4 funnel exploration shows an average elapsed time per step, and an average hides that tail. A single 90-minute checkout, a tab left open over lunch, moves an average by minutes. The median does not move. Percentiles are the honest summary of a duration.

WITH sessions AS (
  SELECT
    CONCAT(user_pseudo_id, '-', CAST((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS STRING)) AS session_id,
    MIN(IF(event_name = 'begin_checkout', event_timestamp, NULL)) AS checkout_ts,
    MIN(IF(event_name = 'purchase', event_timestamp, NULL)) AS purchase_ts
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
  GROUP BY session_id
  HAVING checkout_ts IS NOT NULL AND purchase_ts IS NOT NULL AND purchase_ts >= checkout_ts
),
durations AS (
  SELECT (purchase_ts - checkout_ts) / 60000000 AS checkout_minutes
  FROM sessions
)
SELECT
  COUNT(*) AS converting_sessions,
  ROUND(APPROX_QUANTILES(checkout_minutes, 100)[OFFSET(25)], 1) AS p25_minutes,
  ROUND(APPROX_QUANTILES(checkout_minutes, 100)[OFFSET(50)], 1) AS median_minutes,
  ROUND(APPROX_QUANTILES(checkout_minutes, 100)[OFFSET(75)], 1) AS p75_minutes,
  ROUND(APPROX_QUANTILES(checkout_minutes, 100)[OFFSET(90)], 1) AS p90_minutes,
  COUNTIF(checkout_minutes > 10) AS over_10_minutes
FROM durations
Checkout duration, converting sessionsValue, January 2021
Sessions with begin_checkout then purchase1,115
25th percentile1.8 minutes
Median3.1 minutes
75th percentile5.7 minutes
90th percentile10.7 minutes
Checkouts longer than 10 minutes121

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

Timestamps are in microseconds, hence the division by 60,000,000. The percentiles are approximate and rounded to one decimal. Only sessions where the purchase follows the checkout are kept; the others are tracking order defects. A checkout that converts in 3 minutes but loses half its visitors has one problem. A checkout that converts in 12 minutes has another. Duration by device and by step, and the time abandoned checkouts spent, are in Checkout duration in GA4: measured in minutes, not pages.

Where checkout breaks: shipping, payment, account creation

Checkout breaks at the two steps where the visitor gives something: the shipping address and the payment method. On the public sample, 1,044 of the 2,159 checkout sessions did not purchase, a 48.4% checkout abandonment rate. Of the checkout sessions, 72.3% reached add_payment_info, and 71.5% of those purchased. The two drops are similar in size, which is unusual and worth checking on your own data.

Reason given by US shoppers who abandoned during checkoutShare (Baymard Institute survey, page updated 2025-09-22)
Extra charges too high (shipping, tax, fees)40%
Delivery too slow20%
Did not trust the site with card information19%
The site required an account18%
Checkout too long or complicated17%
Website errors or crashes17%

The same source notes that 42% of US shoppers who abandon were only browsing. No checkout change recovers them. The survey figures explain motives; the export measures where. The two readings combine step by step. The drop between begin_checkout and add_shipping_info is the delivery problem. The drop between add_shipping_info and add_payment_info is the account and fees problem. The drop between add_payment_info and purchase is the payment problem.

On a site where add_shipping_info fires with begin_checkout, as on the sample, the delivery drop is invisible. The fix is on the tagging side, not the checkout side. The export adds one reading the survey cannot give: the last page seen before the session ended. Ending on the shipping page and ending on the payment page are two different stories. The page_location of that last page_view names it. That reading, step by step and by device, is in Shipping, payment, account creation: where checkout breaks.

Drop-off by device, channel, and country

A funnel without a device split hides the gaps that matter. The overall rate is a weighted average of very different populations. On the public sample, checkout abandonment is 50.3% on desktop and 45.8% on mobile. The gap is 4.5 pp in favor of mobile. Cart abandonment is 82.6% on desktop and 80.4% on mobile. The query is the open funnel, grouped by device.category.

WITH sessions AS (
  SELECT
    CONCAT(user_pseudo_id, '-', CAST((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS STRING)) AS session_id,
    ANY_VALUE(device.category) AS device_category,
    LOGICAL_OR(event_name = 'view_item') AS viewed,
    LOGICAL_OR(event_name = 'add_to_cart') AS carted,
    LOGICAL_OR(event_name = 'begin_checkout') AS checked_out,
    LOGICAL_OR(event_name = 'purchase') AS purchased
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
  GROUP BY session_id
)
SELECT
  device_category,
  COUNT(*) AS sessions,
  COUNTIF(viewed) AS view_item,
  COUNTIF(carted) AS add_to_cart,
  COUNTIF(checked_out) AS begin_checkout,
  COUNTIF(purchased) AS purchase,
  ROUND(100 * COUNTIF(carted AND NOT purchased) / COUNTIF(carted), 1) AS cart_abandonment_pct,
  ROUND(100 * COUNTIF(checked_out AND NOT purchased) / COUNTIF(checked_out), 1) AS checkout_abandonment_pct
FROM sessions
GROUP BY device_category
ORDER BY sessions DESC
DeviceSessionsview_itemadd_to_cartbegin_checkoutpurchaseCart abandonmentCheckout abandonment
Desktop68,64913,4382,6431,24161782.6%50.3%
Mobile47,0889,1111,79686646980.4%45.8%
Tablet2,64355698522978.6%44.2%

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

Mobile converting better than desktop is the opposite of the usual pattern. The sample is obfuscated and five years old, so it illustrates the method, not a market. Replace device.category with geo.country for the country split. The query does not change otherwise. The channel split needs one more decision. In the export, traffic_source.medium is the medium that first acquired the user, not the session's. For a per-session medium, read the session_traffic_source_last_click record where the export carries it. Otherwise, take collected_traffic_source.manual_medium from the session's first event: it holds the utm_medium collected with that event. The 2021 sample has neither field. A channel funnel built on that user-level field disagrees with the acquisition report. That gap is not a behavior.

Gaps between segments are read in percentage points, never in percent of a percent. A segment also needs enough sessions before its rate means anything. On tablet, 29 purchases make 44.2% a fragile number. Which gaps are large enough to act on, and how many sessions a segment needs, is in Conversion rate by device, channel, and country: reading the gaps that matter.

Which step should you fix first? Funnel leakage

Within one funnel, fix first the step with the lowest step rate, which is also the biggest drop. One more point at a step adds 0.01 × purchases ÷ that step's rate. Purchases are the same for every step of one funnel, so the lowest rate wins. On the public sample, one more point between view_item and add_to_cart yields about 57 extra purchases a month. The same point between add_payment_info and purchase yields about 16.

Funnel leakage is an index that ranks funnel steps by the extra purchases that one more point of conversion at that step would produce. It accounts for the sessions reaching the step and for the conversion of the steps after it. It turns a list of drop-off rates into a priority order.

Step rate, January 2021Sessions inRateDownstream conversion to purchaseExtra purchases for +1 pp (rounded)Index
view_item to add_to_cart23,10519.6%24.6%57100
add_to_cart to begin_checkout4,53747.6%51.6%2341
begin_checkout to add_payment_info2,15972.3%71.5%1527
add_payment_info to purchase1,56071.5%100%1627

Derived on 2026-10-15 by arithmetic from the open funnel counts of January 2021 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data); rates rounded to one decimal, purchases to the unit.

High drop-off and high gain part ways only between segments. Across devices, channels, or markets, purchases differ from one funnel to the next, and volume enters the ranking. On the sample, the tablet product step has the lowest rate of the twelve device-step cells, 17.6%. One more point there adds 1.6 purchases, against 8.8 at the desktop payment step, whose rate is 70.0%. The index answers "where first", not "how much". A point at the product step is also harder to win.

Before ranking, check that each step fires every day. On the sample, add_to_cart is missing on most days of November 2020.

SELECT
  COUNT(*) AS days,
  COUNTIF(add_to_cart_events = 0) AS days_without_add_to_cart
FROM (
  SELECT _TABLE_SUFFIX AS day, COUNTIF(event_name = 'add_to_cart') AS add_to_cart_events
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20201101' AND '20201130'
  GROUP BY day
)
November 2020Value
Days in the export30
Days without a single add_to_cart event18

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

With 18 days missing, November's cart-to-checkout rate reads 208.3%, an impossible value. Any calculation over the full 92 days of the sample inherits that hole. The device ranking and the monthly recomputation are in Funnel leakage: which step gains the most from one more point of conversion.

GA4 interface or BigQuery export: which one for which question?

The GA4 interface answers the first funnel question, and the BigQuery export answers all the others. The funnel exploration shows the step counts, the abandonment rate between steps, and an average elapsed time. It counts users, follows the step order, and stops at the end of the chosen date range. Everything beyond that needs the raw events.

QuestionGA4 funnel explorationBigQuery export
Sessions or users at each stepUsers onlyEither, by changing the key
Open or closed funnelBoth, as a settingBoth, as two columns
Cart bought in a later sessionNot countedCounted, with the window you choose
Leavers versus wanderersNot separatedSeparated by the last page after the step
Checkout durationAverage per stepAny percentile, by device and step
Device, channel, country splitSegments; thresholds once demographics are addedAny dimension, no threshold
HistoryThe property's retention settingEvery day since the export started

Two limits of the interface deserve a line. Explorations read event data for the property's retention period, two or fourteen months depending on the setting. A year-on-year funnel is therefore often impossible there. Data thresholds also withhold rows when an exploration includes demographic data or search terms. The export has neither limit. It keeps every day since activation, and a segment of 29 sessions is shown as 29 sessions.

Use the interface to check that events fire and to show a colleague a first funnel. Use the export for every definition decision: unit, window, open or closed, and the three-way split. A funnel built once in SQL on the export then rebuilds every day with the same definitions. That repeatability is what the interface does not offer.

A funnel audit is worth the day it is delivered

A funnel audit is exact on delivery day and ages from the next morning: every input moves. The campaign mix changes which visitors reach the cart. A site release renames a checkout page. A new payment method skips add_payment_info. A consent banner update changes who is measured at all. The January 2021 table in this guide describes January 2021, nothing later. An audit also freezes its definitions in a document that nobody reopens. Six months later, a new analyst rebuilds the funnel with a different session key. The two reports then disagree, and nobody knows why.

What movesWhat it does to the funnelHow often
Campaign and channel mixChanges the cart rate without any site changeEvery week
Site releaseBreaks or renames an event; shifts a drop to the wrong stepEvery sprint
Device mixShifts the overall rate toward the dominant deviceEvery season
Checkout changeRemoves or adds a step; resets the duration baselineA few times a year
Consent and blockersChanges the measured population, not the real oneWith each banner change

A permanent funnel keeps the same six events, session definition, and open and closed counts. It keeps the same three-way split, recomputed every day on the raw export. The question "and on mobile, in Spain, for paid social?" then takes one filter, not a new study. The method in this guide is the same one. Only the cadence changes, and the cadence is what makes the numbers trustworthy when the board asks.

FAQ

What is a good cart abandonment rate?

A good cart abandonment rate beats your own previous-period rate, computed the same way. The public average is 70.22% across 50 studies compiled by the Baymard Institute, updated in September 2025. Each study, though, uses its own scope and window. On the public GA4 sample, January 2021, the session-level rate is 81.6%. That number only describes that sample.

What is the difference between cart abandonment and checkout abandonment?

Cart abandonment counts sessions with an add_to_cart and no purchase. Checkout abandonment counts sessions with a begin_checkout and no purchase. The second is always lower, because starting checkout signals intent. On the public sample, January 2021, cart abandonment is 81.6% and checkout abandonment is 48.4%, both per session. Reporting one without saying which is the most common confusion in funnel reviews.

How do you see abandonment in GA4?

In the GA4 interface, abandonment is read in a funnel exploration built on the e-commerce events. The abandonment rate is shown between steps. The report counts users, not sessions, follows the step order, and can be open or closed. A session-level rate, a seven-day window, or the leaver and wanderer split needs the raw BigQuery export.

Why does the GA4 funnel show more abandonment than my store?

The GA4 funnel shows more abandonment than your order system for three reasons. It counts a journey within the step order. It stops at the end of the session or the window. It only sees consented, unblocked visitors. Next-day purchases, saved carts reopened from an email, and purchases on another device count as lost. Your store counts orders; GA4 counts measured journeys.

Should I use an open or a closed funnel?

Use the open funnel to measure each step and the closed funnel to measure the journey. Label which one you report. On the public sample, closing the funnel removed 618 of 2,159 checkout sessions and 282 of 1,115 purchases. The two therefore give different drop-off rates at every step after the cart. A single unlabeled rate is the error to avoid.

How long does a checkout take?

A typical checkout takes a few minutes. On the public GA4 sample, January 2021, the median converting checkout lasted 3.1 minutes. The 90th percentile lasted 10.7 minutes. Your site has its own distribution, which depends on account creation, address entry, and payment method. The useful number is the percentile, not the average. The useful comparison is by device and by step.

What should you do with visitors who wander?

Visitors who wander after a step should be followed to the last page they saw. That page names the question that stopped them. On the public sample, January 2021, 1,836 cart sessions wandered against 1,158 that left. The wanderers are the larger lever. Shipping, returns, and size guides are the usual destinations. A clear answer on the cart page keeps them in the funnel.

Next, run this funnel on your own raw GA4 export, with your definitions written down once. Book a diagnostic.

Sources

Articles in this guide