Attribution report
report_attributionAttribute conversions using first-click or last-click models, targeting path or event dimensions to reveal conversion drivers.
Instructions
Conversion attribution. model is first-click or last-click; type is the target dimension; step the target value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | Target value (the conversion). | |
| type | Yes | Target dimension. | |
| endAt | No | Explicit end — ISO 8601, YYYY-MM-DD, or epoch milliseconds. Defaults to now. | |
| model | Yes | Attribution model. | |
| range | No | Relative window: "24h", "7d", "30d", "12w", "today", "yesterday", "this-week", "last-month", "this-year". Ignored when startAt/endAt are set. Default "7d". | |
| startAt | No | Explicit start — ISO 8601, YYYY-MM-DD, or epoch milliseconds. Overrides range. | |
| currency | No | ||
| websiteId | Yes | Umami website UUID (obtain from list_websites). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |