Documentation · API reference
GET/api/v1/sites/{site}/funnels/{id}

A funnel across visits for visitors who agreed

A funnel across visits for visitors who agreed, and the same steps inside one visit for everyone. Never added.

Parameters

sitein the address
neededA site's id or name
idin the address
neededThe funnel
periodin the query
30d when left out
byin the query
source, country or device

The answer

Status 200

FunnelReport A funnel across visits, for visitors who agreed (AN-01), and the same steps inside one visit for everyone (AN-05). The two answer different questions and are never added.

by
stringneeded`source`, `country` or `device`: by what the visitor first came with.
coverage
Coverageneeded
easy
list of integerneededThe easy way: visits that reached each step inside one visit. Null for a day whose visits were counted before the funnel existed.
easy_says
stringneeded
finished
integerneeded
finished_share
number or null
funnel
FunnelViewneeded
in_one_visit
integerneeded
median_seconds
integer or nullMedian seconds from the first step to the last.
period
PeriodViewneeded
site
stringneeded
split
list of FunnelSplitneeded
steps
list of FunnelStepneeded

Asking

With your token from Settings
curl https://tidekeeper.eu/api/v1/sites/example.org/funnels/{id} \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/sites/example.org/funnels/{id}", {
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());