Get Time On Page Report
Returns the average time on page over a time window — as a single aggregate value, or bucketed by day or week when timeseries is supplied.
Choose how the average is computed with metricScope (per session, user, or page view). 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.
How the average time on page is computed — per session, user, or page view.
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 TimeOnPageFilter schema for the full list of supported dimensions.
Response
A reporting time window. endTime must be greater than startTime.
The unit each averageSeconds value is averaged over.
session: average time on page per session.user: average time on page per unique user.pageview: average time on page per page view.
Average time on page over the requested window — one aggregate point when timeseries is omitted, otherwise one point per bucket.
Filter the time on page 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.