get_goals
Retrieve conversion goals for a specified site domain. Supports preset periods or custom date ranges, with timezone bucketing.
Instructions
Conversions per goal for a site. Requires a key with the stats:read permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date YYYY-MM-DD (use with `from`). | |
| tz | No | IANA timezone for bucketing, e.g. Europe/Paris. | |
| from | No | Start date YYYY-MM-DD (use with `to` for a custom range). | |
| domain | Yes | Site domain. | |
| period | No | Preset period (default 7d). Ignored when both `from` and `to` are set. |