Preview funnel results
Results for steps that are not saved yet, for the date range in the query.
Related: List funnels and Create a funnel in Funnels.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
Query parameters
periodstringoptionalOne of: realtime, today, yesterday, last_24h, last_7d, last_30d, last_90d, last_12m, week_to_date, last_week, month_to_date, last_month, year_to_date, all, custom · Default: "last_30d"
fromstringoptionalPattern: ^\d{4}-\d{2}-\d{2}$
tostringoptionalPattern: ^\d{4}-\d{2}-\d{2}$
granularitystringoptionalOne of: minute, hour, day, week, month
comparestringoptionalOne of: previous_period, previous_period_dow, year_over_year, custom, none · Default: "previous_period"
compareFromstringoptionalPattern: ^\d{4}-\d{2}-\d{2}$
compareTostringoptionalPattern: ^\d{4}-\d{2}-\d{2}$
filtersobject[] | stringoptionalsegmentstringoptionalPattern: ^[a-f0-9]{24}$
pinstringoptional1–22 characters
Headers
AuthorizationstringrequiredBearer followed by a site key, an account token or an OAuth access token with the funnels:read scope.
Content-TypestringrequiredSend the body as JSON.
One of: application/json
Body fields
stepsobject[]required2–8 items
Response
Results.
{
"status": "string",
"data": {
"range": {
"from": "string",
"to": "string",
"timezone": "string"
},
"previousRange": {
"from": "string",
"to": "string",
"timezone": "string"
},
"currency": "string",
"summary": {
"entered": 0,
"completed": 0,
"conversionRate": "string",
"medianSecondsToConvert": "string"
},
"previous": {
"entered": 0,
"completed": 0,
"conversionRate": "string",
"medianSecondsToConvert": "string"
},
"steps": [
{
"index": 0,
"label": "string",
"visitors": 0,
"conversionRate": "string",
"conversionFromStart": "string",
"dropoff": 0,
"dropoffRate": "string",
"medianSecondsFromPrevious": "string",
"avgSecondsFromPrevious": "string",
"revenue": "string",
"revenuePerVisitor": "string",
"topChannels": [
{
"value": "string",
"label": "string",
"visitors": 0
}
],
"topSources": [
{
"value": "string",
"label": "string",
"visitors": 0
}
],
"topCountries": [
{
"value": "string",
"label": "string",
"visitors": 0
}
]
}
],
"byChannel": [
{
"value": "string",
"label": "string",
"entered": 0,
"completed": 0,
"conversionRate": "string"
}
]
}
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.range | object | |
| data.range.from | string | |
| data.range.to | string | |
| data.range.timezone | string | |
| data.previousRange | object | null | null | |
| data.previousRange.from | string | |
| data.previousRange.to | string | |
| data.previousRange.timezone | string | |
| data.currency | string | |
| data.summary | object | |
| data.summary.entered | integer | |
| data.summary.completed | integer | |
| data.summary.conversionRate | number | null | null | |
| data.summary.medianSecondsToConvert | number | null | null | |
| data.previous | object | null | null | |
| data.previous.entered | integer | |
| data.previous.completed | integer | |
| data.previous.conversionRate | number | null | null | |
| data.previous.medianSecondsToConvert | number | null | null | |
| data.steps | object[] | |
| data.steps[].index | integer | |
| data.steps[].label | string | |
| data.steps[].visitors | integer | |
| data.steps[].conversionRate | number | null | null | |
| data.steps[].conversionFromStart | number | null | null | |
| data.steps[].dropoff | integer | |
| data.steps[].dropoffRate | number | null | null | |
| data.steps[].medianSecondsFromPrevious | number | null | null | |
| data.steps[].avgSecondsFromPrevious | number | null | null | |
| data.steps[].revenue | integer | null | null | |
| data.steps[].revenuePerVisitor | number | null | null | |
| data.steps[].topChannels | object[] | |
| data.steps[].topChannels[].value | string | |
| data.steps[].topChannels[].label | string | null | null | |
| data.steps[].topChannels[].visitors | integer | |
| data.steps[].topSources | object[] | |
| data.steps[].topSources[].value | string | |
| data.steps[].topSources[].label | string | null | null | |
| data.steps[].topSources[].visitors | integer | |
| data.steps[].topCountries | object[] | |
| data.steps[].topCountries[].value | string | |
| data.steps[].topCountries[].label | string | null | null | |
| data.steps[].topCountries[].visitors | integer | |
| data.byChannel | object[] | |
| data.byChannel[].value | string | "" | |
| data.byChannel[].label | string | |
| data.byChannel[].entered | integer | |
| data.byChannel[].completed | integer | |
| data.byChannel[].conversionRate | number | null | null |