Fetch traces between funnel steps
/apps/{id}/funnels/{funnelId}/tracesReturns the root spans that started while users tried to get from one step of the funnel to the next, with the quantile of their durations for users that converted and for those that dropped off. The span names recorded by the most users that dropped off come first.
- A user's attempt starts when they reach the earlier step and ends when they reach the next one or, if they never do, when their conversion window runs out.
- Users are counted by installation id, and counted when they did the funnel's first step between
fromandto. Their attempt can come afterto, within the conversion window. - A
fromortowith seconds, such as one taken from the current time, is rounded down to the minute, or to ten minutes when the range is a day or more, so that repeated requests can share a cached result. Afromortoon a whole minute is used as sent.
Authorization
bearerAuth User access token issued at sign-in. Sent as
Authorization: Bearer <access-token> unless cookies are used to send
tokens. The /auth/refresh and /auth/signout endpoints expect the
session's refresh token in the same header format instead.
In: header
Path Parameters
App's UUID.
uuidFunnel's UUID.
uuidQuery Parameters
Index of the step users try to reach, counting the first step as 0, so 1 looks at getting from the first step to the second. From 1 to the number of steps minus 1. Without it, covers getting from the first step to the last.
1 <= valueQuantile of the durations to return.
Value in
- "p50"
- "p90"
- "p95"
- "p99"
ISO 8601 UTC string in milliseconds precision. Example: 2023-11-01T18:30:00.000Z. Omitting both from and to returns the last seven days.
ISO 8601 UTC string in milliseconds precision. Example: 2023-11-01T18:30:00.000Z. Omitting both from and to returns the last seven days.
Conditions joined by AND or OR and grouped with parentheses,
each reading key:operator:values with the names
/apps/{id}/filters/keys publishes. AND binds tighter than OR.
version_name:in:[1.2.0,1.1.9] AND mapping_type:not_in:jsbundle(version_name:contains:SNAPSHOT AND mapping_type:in:proguard) OR patch_id:is_setAn operator taking no values ends its condition, as
patch_id:is_set does. Double-quote a value holding a space,
comma, bracket, colon or quote, with \" and \\ inside.
At most 4096 bytes, 32 conditions, 4 levels of nesting and 200 values in one condition.
Maximum results to return.
1 <= value <= 100010Number of results to skip.
0 <= value0Response Body
application/json
curl -X GET "https://example.com/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/funnels/497f6eca-6276-4993-bfeb-53cbbbba6f08/traces?quantile=p50"{ "results": [ { "span_name": "checkout.load_payment_methods", "count": 820, "dropped": 214, "converted": 390, "dropped_duration_ms": 2310.5, "converted_duration_ms": 640 } ], "meta": { "next": false, "previous": false }}Think this page can be better?
Open an issue