Get Goals
get_goalsThe site's saved goals (Website Settings > Goals) with how many human and bot visitors completed each one in the window: type page (a path, * = any part), click (an outbound destination), event (a custom event name) or scroll (a scroll depth percent). Each row carries the goal id for the goal filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| days | No | ||
| from | No | YYYY-MM-DD | |
| site | Yes | ||
| filters | No | Narrow the report to the visits that match ALL of these (the dashboard's click-to-filter), inside the same window as the report. Omit for everything. |