Retrieve analytics
Retrieve analytics for a link, a domain, or the authenticated workspace. The response type depends on the event and type query parameters.
Query Parameters
The parameter to group the analytics data points by. Defaults to count if undefined.
count, timeseries, continents, regions, countries, cities, devices, browsers, os, trigger, triggers, event_names, referers, referer_urls, top_folders, top_link_tags, top_domains, top_links, top_urls, top_base_urls, top_partners, top_groups, top_partner_tags, utm_sources, utm_mediums, utm_campaigns, utm_terms, utm_contents The country to retrieve analytics for. Must be passed as a 2-letter ISO 3166-1 country code (see https://d.to/geo). Supports advanced filtering: single value, multiple values (comma-separated), or exclusion (prefix with -). Examples: US, US,BR,FR, -US.
The conversion event name to retrieve analytics for. Only available for lead and sale events. Supports advanced filtering: single value, multiple values (comma-separated), exclusion (prefix with -), or case-insensitive substring match (prefix with ~, combine with - to exclude). Examples: Sign up, Sign up,Purchase, -Sign up, ~deposit, -~test.
Response
Analytics data
- Option 1 · object
- Option 2 · object[]
- Option 3 · object[]
- Option 4 · object[]
- Option 5 · object[]
- Option 6 · object[]
- Option 7 · object[]
- Option 8 · object[]
- Option 9 · object[]
- Option 10 · object[]
- Option 11 · object[]
- Option 12 · object[]
- Option 13 · object[]
- Option 14 · object[]
- Option 15 · object[]