Get analytics
dub_get_analyticsGet aggregated click, lead and sale analytics, grouped by a dimension such as country, device, referer or top links. The main reporting read. Dub: GET /analytics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ISO-8601 end of an absolute range. | |
| key | No | The short key, used with domain. | |
| event | No | Which event type to report. Defaults to clicks. | |
| start | No | ISO-8601 start of an absolute range. | |
| device | No | Filter to one device type. | |
| domain | No | Only links on this domain. | |
| linkId | No | Only this link. | |
| country | No | Filter to one country code. | |
| groupBy | No | Dimension to group by, e.g. count, timeseries, top_links, countries, cities, devices, browsers, os, referers, utm_sources. | |
| interval | No | Relative time window. Use start/end instead for an absolute range. |