Get Time On Page Report
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 pageview.
Bucket size for the time series. Omit for a single aggregate value covering the window; day or week returns one value per bucket.
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.
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 pageview.
Average time on page over the requested window — one aggregate point when granularityPeriod is omitted, otherwise one point per bucket.
Bucket size for the time series. Omit it to get a single aggregate value covering the whole window; day returns one value per day and week one value per week. Buckets are aligned to UTC.
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.