Product Analytics
Compute journey funnel analysis
Compute a funnel over an ordered sequence of Product Analytics events. Returns the per-step conversion counts, conversion rates, and elapsed times, optionally segmented by group-by facets.
post/api/v2/product-analytics/journey/funnel
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Example response
{
"data": {
"attributes": {
"end_to_end_conversion_rate": 0.42,
"end_to_end_elapsed_time": {
"avg": 5100,
"max": 42000,
"min": 900
},
"funnel_steps": [
{
"elapsed_time_to_next_step": {
"avg": 5100,
"max": 42000,
"min": 900
},
"groups": [
{
"conversion_count": 210,
"elapsed_time_to_next_step": {
"avg": 5100,
"max": 42000,
"min": 900
},
"group_tags": [
"United States"
],
"value": 480
}
],
"label": "A",
"unit": "millisecond",
"value": 1200
}
],
"initial_count": 1200
},
"id": "00000000-0000-0000-0000-000000000000",
"type": "funnel_response"
}
}Changes
Changes to this operation have not been checked yet.