Create a funnel
create_funnelSaves a funnel: ordered steps a visitor must reach in turn, ending for example in payment to see where buyers drop off. 1–8 comma-separated steps, counted in order: visit, page:/path (path prefix), page:=/path (exact page), page:host/path (one hostname), event:goal_name, identify, payment. Example: visit,page:/pricing,event:signup,payment. Show the user the name and steps before saving. Returns the funnel; report it with get_conversions and funnel_id. Up to 50 funnels per website. Requires the write scope (admin or owner).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"steps": "<steps>"
},
"name": "create_funnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Funnel name, e.g. Pricing to paid. | |
| steps | Yes | 1–8 comma-separated steps, counted in order: visit, page:/path (path prefix), page:=/path (exact page), page:host/path (one hostname), event:goal_name, identify, payment. Example: visit,page:/pricing,event:signup,payment | |
| website_id | No | Website ID from list_websites (the data-site-id value in the tracking script). |