Skip to content

Get visits by device type over time

GET
/cms/analytics/daily-traffic/device-type-trend
date_from
string format: date

Start date (YYYY-MM-DD). Defaults to 30 days ago.

date_to
string format: date

End date (YYYY-MM-DD). Defaults to date_from, or yesterday.

segment
integer
0

Index into the configured traffic segments

platform
integer
0

0=All product types, 1=Web, 2=Mobile

unit
string
default: day
Allowed values: day week month

Aggregation granularity

Visits-by-device-type trend, one trace per device type

Invalid date range or segment index

Admin authorization required

Insufficient permissions