pageviews_series
Get time series of pageviews and sessions for a website, bucketed by hour, day, month, or year over a custom date range.
Instructions
Time series of pageviews and sessions for a website over a date range, bucketed by unit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Bucket size (default day). | |
| endAt | No | Range end, ISO date. Optional; defaults to now. | |
| startAt | No | Range start, ISO date. Optional; defaults to 7 days ago. | |
| timezone | No | IANA timezone, e.g. America/New_York (default UTC). | |
| websiteId | Yes | The website id, from list_websites. |