Devices Chart
API + MCPGET/v3/web-analytics/devices-chart
Requests to this endpoint are free and do not consume any API units.
Query parameters
devices_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, hourly, daily, weekly or monthly.
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
devicestring
Device type
visitorsinteger
Number of visitors
session_bounce_ratenumber (float)
Session bounce rate (percentage of sessions that triggered only one request)
avg_session_duration_secinteger
Average session duration (in seconds)
errorstring
errorstring
errorstring
errorstring
errorstring