#The AttributeValueDataPoint is one value of an attribute with how many visitors hold it object
AttributeValueDataPoint is one value of an attribute with how many visitors hold it
label
percentage
visitorCount
Endpoints for retrieving aggregated analytics data for dashboard widgets including geographic breakdown, device distribution, and visitor trends.
AttributeValueDataPoint is one value of an attribute with how many visitors hold it
label
percentage
visitorCount
/v1/analytics/attributes/distributionReturns how visitors are spread across the values of one attribute, for example how many gave each rating.
/v1/analytics/attributes/metricReturns count, average, minimum and maximum for a visitor attribute, plus how much of the audience carries it.
This endpoint does not accept any parameters.
endDate
Inclusive end timestamp
key
Attribute key, for example "rating"
linkId
Optional link filter (UUID). Attributes belong to the visitor rather than to a link, so this filters the audience: visitors who interacted with the link, whatever set the attribute.
startDate
Inclusive start timestamp
Everything worked as expected.
audienceCount
Visitors in the audience, whether or not they have the attribute
averageValue
coverageRate
Share of the audience carrying the attribute, 0 to 1
maxValue
minValue
totalCount
Visitors carrying the attribute at all
usableCount
Values that parsed as numbers, so the denominator for averages. Lower than total_count when some values do not match the attribute's declared type.
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.
/v1/analytics/attributes/valuesReturns the individual recorded values of one attribute, most recent first. Intended for free text such as comments.
/v1/analytics/breakdownReturns a ranked breakdown of events by any dimension (browser, platform, device type, country, city, visit type).
This endpoint does not accept any parameters.
dimension
Dimension to break down by: "browser", "platform", "device_type", "country", "city", "visit_type"
endDate
Inclusive end timestamp
limit
Maximum number of results (default 10)
linkId
Optional link filter (UUID); when omitted aggregates workspace-wide
startDate
Inclusive start timestamp
Everything worked as expected.
data
Ordered list of dimension values by event count (descending)
total
Total number of events in the date range
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.
/v1/analytics/devicesRetrieve event distribution across device types.
/v1/analytics/funnelReturns the workflow steps visitors reached, in distinct visitors, ordered from arrival to exit, with the conversion rate and drop-off at each step.
This endpoint does not accept any parameters.
endDate
Inclusive end timestamp
linkId
Optional link filter (UUID); when omitted aggregates workspace-wide
startDate
Inclusive start timestamp
Everything worked as expected.
completionRate
Conversion rate of the final step
entryVisits
Journeys that arrived; the denominator of every rate
steps
Steps in the order a visitor meets them, arrival first
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.
/v1/analytics/geoRetrieve geographic distribution of events grouped by country or city.
This endpoint does not accept any parameters.
endDate
Inclusive end timestamp
groupBy
Group by "country" or "city"
limit
Maximum number of results (default 10)
linkId
Optional link filter (UUID); when omitted aggregates workspace-wide
startDate
Inclusive start timestamp
Everything worked as expected.
data
Ordered list of locations by event count (descending)
totalEvents
Total number of events in the date range
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.
/v1/analytics/hoursRetrieve event counts aggregated by hour of day for identifying peak activity times.
/v1/analytics/timeseriesRetrieve time-bucketed event counts grouped by a dimension like country, city, device type, or visit type.
This endpoint does not accept any parameters.
endDate
groupBy
GroupByDimension defines the available dimensions for grouping analytics data. Add new dimensions here as the platform grows.
GROUP_BY_DIMENSION_UNSPECIFIEDGROUP_BY_DIMENSION_COUNTRYGROUP_BY_DIMENSION_CITYGROUP_BY_DIMENSION_DEVICE_TYPEGROUP_BY_DIMENSION_VISIT_TYPEGROUP_BY_DIMENSION_BROWSERGROUP_BY_DIMENSION_PLATFORMintervalInMinutes
limit
Max number of groups to return (top N by volume). Default 5.
linkId
Optional link filter (UUID); when omitted aggregates workspace-wide
startDate
/v1/analytics/top-linksRetrieve links ranked by event count for identifying best performing QR codes and links.
/v1/analytics/visitorsRetrieve new vs returning visitor counts over time.
This endpoint does not accept any parameters.
endDate
Inclusive end timestamp
intervalInMinutes
Bucket size in minutes (e.g. 60 for hourly, 1440 for daily)
linkId
Optional link filter (UUID); when omitted aggregates workspace-wide
startDate
Inclusive start timestamp
Everything worked as expected.
data
Time-bucketed visitor trend data
totalNew
Total new visitors in the range
totalReturning
Total returning visitors in the range
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.