analyze_funnel
Build conversion funnels from product events: specify ordered event steps to view distinct users, conversion, and drop-off. Omit steps to retrieve available event names.
Instructions
Build a conversion funnel from the product's own events and reason over it on your model. Pass steps as an ordered list of event names (2+) to compute the funnel: distinct users per step, conversion, and drop-off. Omit steps to get the menu of available event names first. Optional product_id (defaults to the primary product) and window_days (default 30).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Ordered event names (2+); omit to get the menu of event names first. | |
| product_id | No | Product id, from whoami (optional; primary by default). | |
| window_days | No | Window in days (default 30). |