Pages
get_pagesEvery page viewed, with its numbers and trend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | For pages: path or url. For lifetime value: segments, to read by saved segment. For heatmap clicks: how to group them. | |
| to | No | End date, inclusive (YYYY-MM-DD), for period custom | |
| dir | No | Sort direction | |
| from | No | Start date (YYYY-MM-DD), for period custom | |
| sort | No | What to sort by | |
| limit | No | How many rows | |
| model | No | Revenue attribution model (defaults to the website's) | |
| offset | No | How many rows to skip, for the next page | |
| 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… | |
| search | No | Only rows containing this | |
| 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) |