Goals
list_goalsEvery goal (custom events and page-visit goals) with completions, unique visitors, conversion rate and revenue from converters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date, inclusive (YYYY-MM-DD), for period "custom" | |
| from | No | Start date (YYYY-MM-DD), for period "custom" | |
| period | No | Date range in the website's timezone. "now" is the last 30 minutes; "custom" uses from/to. | 30d |
| filters | No | Optional filters, each [dimension, operator, value], e.g. [["country","is","US"]]. Dimensions: the breakdown dimensions plus "goal"; operators: is, is_not, contains, not_contains. | |
| website | Yes | Website id or domain, e.g. example.com (see list_websites) |