Define a funnel
https://seolyticize.com /api/v1/tools/create_funnel Defines a funnel: 2 to 8 steps (a page reached or an event sent) a visit should pass through in order — landing page, product, cart, thank-you. Measured within one visit, because the cookieless visitor id resets daily. Pageview and event steps mix in any order; each step must happen after the one before it in the visit. Labels are optional and need not be unique (the report names a step by its label, else its match). Answers 'how many who see pricing go on to sign up'. Free.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequirednamestringrequiredstepsobject[]requiredShow child parameters
kindstringrequiredmatchstringrequiredlabelstringupsertBystringdryRunboolean{
"clientId": "string",
"name": "string",
"steps": [
{
"kind": "pageview",
"match": "string",
"label": "string"
}
],
"upsertBy": "name",
"dryRun": false
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/create_funnel" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","name":"string","steps":[{"kind":"pageview","match":"string","label":"string"}],"upsertBy":"name","dryRun":false}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
data, and its meta.Example
{
"data": {},
"meta": {
"requestId": "string",
"costMicros": 0,
"cached": true,
"cachedFrom": "string",
"dataAsOf": "string",
"sources": [
"string"
],
"partial": true,
"next": [
{
"tool": "string",
"args": {},
"why": "string"
}
],
"nextCursor": "string",
"dryRun": true
}
}Schema
datarequiredmetaobjectrequiredShow child parameters
requestIdstringrequiredcostMicrosintegerrequiredcachedbooleanrequiredcachedFromstringdataAsOfstringsourcesstring[]partialbooleanrequirednextobject[]requiredShow child parameters
toolstringargsobjectwhystringnextCursorstringdryRunbooleanX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerX-Request-IdstringExample
{
"error": "string",
"code": "string",
"next": "string",
"requestId": "string"
}Schema
errorstringrequiredcodestringnextstringrequestIdstringX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_funnel
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/create_funnel
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_funnel
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_funnel
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_funnel
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_funnel
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/create_funnel
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger