Goal trend
get_goal_detailsEach goal's completions over time. Each goal's top traffic sources and pages. The values sent with a goal. Personal because a goal's values are whatever your website sends, emails included. Needs people:read.
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 | |
| goal | No | A goal's name | |
| view | No | Which part: timeseries (Goal trend), sources (Goal sources), properties (Goal properties) | |
| period | No | Date range in the website's timezone, as on the dashboard: today, 24h, 7d, 30d (default), 90d, 12m, mtd, lastmonth, ytd, all, custom… | |
| filters | No | Filters, each [dimension, operator, value], e.g. [["country","is","US"]] | |
| website | Yes | Website id or domain, e.g. example.com (see list_websites) |