Funnel
Browse-to-purchase conversion funnel for a date range
cdp_funnel
Computes your brand's browse-to-purchase conversion funnel over a date range. Each stage's count is the number of distinct customers who performed that stage in the window, and conversion is the share of the previous stage's customers who also performed this stage — a cohort intersection, clamped to 0–100%, so the funnel is monotone-safe rather than a raw event-volume ratio. When the distinct-customer cardinality backend is unavailable it falls back to labeled per-stage event counts (basis: "events"). The stages, in order, are:
product_viewed → product_added_to_cart → checkout_started → checkout_completed / order_created
The final stage counts checkout_completed or order_created, whichever your store emits.
Read-only and scoped to your brand.
Parameters
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
from | string | No | ISO-8601 window lower bound (inclusive), e.g. 2026-06-01. | — |
to | string | No | ISO-8601 window upper bound (inclusive), e.g. 2026-06-30. | — |
Returns
stages— an array in funnel order. Each stage hasstage,eventTypes,count(the cumulative funnel-cohort figure: distinct customers on theunique_customersbasis, or raw event volume on theeventsfallback),activityCount(the independent per-stage distinct-customer count via any entry path — equalscounton theeventsbasis),conversionFromPreviousPct,conversionFromStartPct, anddropOffFromPreviousPct.dateRange—{ from, to }, the window you passed.scope— your brand's shop domain.basis—"unique_customers"when counts are distinct-customer cohort estimates, or"events"when the tool fell back to raw per-stage event counts.note— a human-readable explanation of the semantics for the chosenbasis.
Example prompts
What's my browse-to-purchase funnel for last month?Show me conversion from product view to checkout for JuneNotes
- The brand scope is injected server-side, so counts only ever cover your own events.
- Percentages are computed per stage relative to both the previous stage and the funnel start; the first stage's ratios (and
dropOffFromPreviousPct) arenull. On theunique_customersbasis they are cohort-intersection ratios (clamped to 0–100%); on theeventsfallback they are event-volume ratios and not directly comparable across stages. - Aggregate queries are throttled — on a rate limit, the tool returns a clear rate-limit error.