analyze_paths
Trace user journey flows after a start event using a Sankey diagram. View nodes and links with user counts, including drop-offs and the long tail.
Instructions
Trace what users do AFTER a start event — the journey flow (Sankey) from the product's own events, so YOU can reason about real behaviour on your model. Returns nodes (the event at each depth, with distinct users + share of journeys) and links (source→target with how many users took that step), including where people drop off ('(exit)') and the collapsed long tail ('(other)'). Pass start to anchor on a specific event, or omit it to anchor on the most common journey start. Optional product_id (defaults to the primary product) and window_days (default 30).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Anchor event name (optional; omit for the most common journey start). | |
| product_id | No | Product id, from whoami (optional; primary by default). | |
| window_days | No | Window in days (default 30). |