Visitor Locations
matomo_geoRetrieve visitor locations by country, continent, region, or city. Specify a site ID and date range to get a geographic breakdown of visits with optional segment filters.
Instructions
Visitor locations: visits broken down by country, continent, region, or city.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date for the report: 'today', 'yesterday', 'YYYY-MM-DD', a rolling window like 'last7' or 'last30', or a range 'YYYY-MM-DD,YYYY-MM-DD' (combine with period=range). | yesterday |
| level | No | Geographic granularity. | country |
| limit | No | Maximum number of rows to return (-1 for all rows). | |
| period | No | Aggregation period for the report. | day |
| segment | No | Optional Matomo segment filter, e.g. 'deviceType==mobile;country==DE'. See https://matomo.org/docs/segmentation/ for the syntax. | |
| site_id | Yes | Numeric Matomo site ID. If unknown, call matomo_list_sites first. |