Goals
matomo_goalsGet goal conversion counts, rates, and revenue, or list configured goals with their IDs. Filter by date, period, goal ID, and segment.
Instructions
Goal conversions: overall conversion counts, rates and revenue (report=conversions), or the list of configured goals with their IDs (report=list).
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 |
| period | No | Aggregation period for the report. | day |
| report | No | Conversion metrics or the list of configured goals. | conversions |
| goal_id | No | Optional numeric goal ID to restrict conversion metrics to one goal (find IDs via report=list). | |
| 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. |