Get Traffic Report
Returns a daily time series of a single metric — sessions, users, or page views — over a time window.
Filter the report with top-level query parameters (country, deviceType, pagePath, etc.) or via the filter parameter for multi-value and negation matching.
429 Too Many Requests. Wait for your in-flight request to finish, or for the Retry-After interval, then retry.Required scope | sites:read
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Query parameters
Inclusive start of the reporting window. Must be a UTC timestamp in ISO 8601 / RFC 3339 format ending in Z (for example, 2026-04-01T00:00:00Z); numeric offsets such as -04:00 or +00:00 are not accepted. Must be on or after 2025-04-09T00:00:00Z.
Exclusive end of the reporting window. Must be a UTC timestamp in ISO 8601 / RFC 3339 format ending in Z (for example, 2026-04-08T00:00:00Z); numeric offsets such as -04:00 or +00:00 are not accepted. Must be greater than startTime and within 100 days of it.
The unit each count data point is measured in.
Restrict the report to a single country. ISO 3166-1 alpha-2 (two letters, normalized to uppercase).
Restrict the report to a single traffic source code (for example, SO for Organic Search).
Restrict the report to a single utm_campaign value.
Restrict the report to a single utm_medium value.
Restrict the report to a single utm_source value.
Filter the report by dimension. Use bracket notation. Scalars take a single value (filter[country][eq]=US, filter[country][ne]=US). Arrays use indexed brackets (filter[country][in][0]=US&filter[country][in][1]=CA, filter[country][nin][0]=US&filter[country][nin][1]=CA).
Each dimension entry takes at least one of eq, in, ne, or nin. Filter a given dimension in one place — either a top-level query parameter or a filter entry. See the TrafficFilter schema for the full list of supported dimensions.
Response
Time-series traffic report for the requested window and filters.
A reporting time window. endTime must be greater than startTime.
The unit each count data point is measured in.
session: number of sessions.user: number of unique users.pageview: number of page views.
Time-ordered series of data points covering the requested window.
Filter the traffic report by dimension. Each property is an optional set of AnalyzeFilterOperators (eq, in, ne, nin) applied to the named dimension. Filter a given dimension in one place — either inside filter or as a top-level query parameter.