Skip to content

Get visit share by country

GET
/cms/analytics/daily-traffic/top-countries
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

Percentage of visits by country

Invalid date range or segment index

Admin authorization required

Insufficient permissions