Breakdown
get_breakdownTop values of one dimension (traffic sources, pages, countries, devices, UTM tags…) with visitors, revenue and conversion rate.
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" | |
| sort | No | visitors | |
| limit | No | ||
| model | No | Revenue attribution model (defaults to the website's setting) | |
| period | No | Date range in the website's timezone. "now" is the last 30 minutes; "custom" uses from/to. | 30d |
| search | No | Only values containing this text | |
| 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) | |
| dimension | Yes | What to break down by |