Event Drill Down
About
The Drill Down API provides access to the same data which is available on the Engagement: Event Drill Down page of the justtrack dashboard.
Table API
Use the Table API for feeding your own drill down tables. Send a POST request to:
curl -H X-API-Key: <API_KEY> https://api.justtrack.io/reporting/v1/drill-down/table
Request
{
"cohort": {
"enabled": false,
"dx": []
},
"interval": {
"from": "2023-01-01",
"until": "2023-01-05"
},
"dimensions": [
"eventName",
"eventDimension[DIMENSION NAME]"
],
"metrics": [
"totalEventsCount"
],
"filters": {
"app": [
"APP NAME"
],
"eventName": [
"EVENT NAME"
],
"eventDimension[DIMENSION NAME]": [
"VALUE"
]
},
"pagination": {
"page": 0,
"limit": 25
},
"orderBy": {
"name": "eventName",
"direction": "desc"
}
}
metrics
[]string
A list of requested metrics.
dimensions
[]dimensions
A list of dimensions by which data should be split. You can request up to 3 dimensions.
This can include named event dimensions in this form: eventDimension[DIMENSION NAME]
Response
{
"pagination": {
"page": int,
"limit": int,
"total": int
},
"rows": [
{
"<dimension>": string,
"<metric>": float
}
],
"sum": {
"<metric>": float
}
}
Graph API
The Graph API offers the same data as Table API with more flexible date grouping options.
curl -H X-API-Key: <API_KEY> https://api.justtrack.io/reporting/v1/drill-down/graph
Request
{
"cohort": {
"enabled": bool,
"dx": [int]
},
"interval": {
"from": "YYYY-mm-dd",
"until": "YYYY-mm-dd"
},
"granularity": string,
"metrics": [string],
"filters": {
"<dimension>": [string]
}
}
metrics
[]string
A list of requested metrics.
Response
{
"<date>": {
"<metric>": float
}
}
<date> stands for the date within which data was aggregated. Depends on the requested granularity.
<metric> stands for the requested metric name and contains float value.
Last updated