Funnel stats
GET
/api/sites/{id}/funnels/{funnelID}/stats
const url = 'https://hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/funnels/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/stats';const options = {method: 'GET', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/funnels/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/stats \ --cookie hk_token=<hk_token>Returns full funnel step stats.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
funnelID
required
string format: uuid
Query Parameters
Section titled “Query Parameters ” from
string format: date-time
to
string format: date-time
Responses
Section titled “ Responses ”Funnel stats
Media type application/json
object
funnel_id
string format: uuid
name
string
overall_conversion_rate
number
steps
Array<object>
object
conversion_rate
number
dropoff
integer
name
string
step_index
integer
visitors
integer
total_completions
integer
total_entries
integer
Example generated
{ "funnel_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "overall_conversion_rate": 1, "steps": [ { "conversion_rate": 1, "dropoff": 1, "name": "example", "step_index": 1, "visitors": 1 } ], "total_completions": 1, "total_entries": 1}