Conversion funnel
funnelOrdered conversion funnel across up to 5 steps within the period. Each step is a pageview path ({kind:'path', value:'/pricing'}) or a custom event ({kind:'event', value:'signup'}); a visitor counts for step N only after completing step N-1. Visitor identity rotates daily for privacy, so journeys spanning multiple days undercount (strongest for same-visit conversion). If site context has a stored funnel, run those steps when asked how the site is doing and compare against the previous period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO end, alternative to period | |
| from | No | ISO start, alternative to period | |
| site | No | the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user. | |
| steps | Yes | ordered funnel steps, each a pageview path or a custom event name | |
| period | No | relative period like '24h', '7d' (default), '4w' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| funnel | Yes | ||
| period | Yes |