Conversion Funnel
analyze_funnelBuild a conversion funnel from ordered event steps, showing distinct users per step, conversion rates, and drop-offs. Call without steps to see available event names.
Instructions
Build a conversion funnel from the product's own events: distinct users per step, step-to-step conversion %, and drop-off, evaluated in the exact order you pass. Needs product-analytics events flowing; returns empty counts when none match. Pass steps as an ordered list of 2+ event names — call it with NO steps first to get the menu of available event names rather than guessing them. Optional product_id and window_days (default 30, valid 1–365). Pairs with analyze_paths to see where the drop-offs go.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Ordered list of 2+ event names forming the funnel; omit to get the menu of available event names first. | |
| product_id | No | Product id, from whoami (optional; the org's primary product when omitted). | |
| window_days | No | Lookback window in days (optional; default 30). |