create_funnel
Create conversion funnels to track visitor progression through defined steps, analyze conversion rates, and save for future analysis.
Instructions
Create and immediately evaluate a conversion funnel. A funnel tracks how many unique visitors complete a sequence of steps. Returns step-by-step counts, conversion rates, and overall conversion. Steps can be event names (e.g. "signup") or pageviews with a path (e.g. "pageview:/pricing"). The funnel is saved for later retrieval. Requires Pro plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A descriptive name for this funnel (e.g. "pricing-to-signup", "onboarding-flow"). Used to retrieve it later. Max 200 chars. | |
| steps | Yes | Ordered array of 2-10 funnel steps. Each step is either: (1) a custom event name like "signup", "checkout_completed", or (2) a pageview with path in the format "pageview:/path" (e.g. "pageview:/pricing", "pageview:/blog/my-post"). Example: ["pageview:/pricing", "signup", "checkout_completed"]. |