Referrers
matomo_referrersAnalyze traffic origins by retrieving referrer reports: channel overview, referring websites, search engines, social networks, campaigns, and AI assistants.
Instructions
Where traffic comes from: channel overview (direct, search, websites, social, campaigns), referring websites, search engines and keywords, social networks, campaign performance, and AI assistants (Matomo 5.1+).
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 |
| limit | No | Maximum number of rows to return (-1 for all rows). | |
| period | No | Aggregation period for the report. | day |
| report | No | Which referrer report to fetch. | overview |
| 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. |