E-commerce
matomo_ecommerceFetch e-commerce revenue and order overviews, with best-selling products by name, SKU, or category.
Instructions
E-commerce performance: revenue/order overview, and best-selling products by product name, SKU, or category.
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 e-commerce 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. |