Top Pages Chart
API + MCPGET/v3/web-analytics/top-pages-chart
Requests to this endpoint are free and do not consume any API units.
Query parameters
pages_to_chartstring
Specify which values to chart (as a comma separated list), if not provided then (top5-by-visitors) is used by default (which charts top 5 values by visitor count).
wherestring
Filter expression. Can mention dimensions and metrics.
granularitystringRequired
Time granularity for chart data points.
Allowed values:hourlydailyweeklymonthly
tostring (date-time)
end datetime for the data query
fromstring (date-time)
start datetime for the data query
project_idintegerRequired
Project ID
outputstring
The output format.
Allowed values:jsoncsvxmlphp
Responses
pointsarray<object>
timestampstring
Timestamp of the data point
pagestring (url)
Page URL
pageviewsinteger
Number of pageview events
visitorsinteger
Number of visitors
session_bounce_ratenumber (float)
Session bounce rate (percentage of sessions that triggered only one request)
avg_page_visit_duration_secinteger
Average page visit duration (in seconds)
errorstring
errorstring
errorstring
errorstring
errorstring