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
Name | Type | Description |
---|---|---|
cohort | Cohort object | Cohort or daily view. |
interval | Interval object | An interval within which data should be aggregated. |
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: |
filters | Filters object | Filters to limit requested data. Optional. |
pagination | Pagination object | Batch number and amount of data rows to return. |
orderBy | OrderBy object | Descending or ascending order by selected metric or dimension. |
Response
Name | Type | Description |
---|---|---|
pagination | Pagination object | Used pagination settings and total amount of data rows. |
rows | []Row | A list of data rows. |
sum | Sum object | Sum for all table entries (not only for the requested page). |
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
Name | Type | Description |
---|---|---|
cohort | Cohort object | Cohort or daily view. |
interval | Interval object | An interval within which data should be aggregated. |
granularity | Granularity object | Scale of the data aggregation. |
metrics | []string | A list of requested metrics. |
filters | Filters object | Filters to limit requested data. Optional. |
Response
<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