get_pageviews
Get pageview and session timeseries data, bucketed by day or hour, for a given website and date range.
Instructions
Pageviews and sessions as a timeseries over a window, bucketed by day or hour.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Window end: ISO 8601 or epoch ms. | |
| unit | No | Bucket size. Default day. | |
| start | Yes | Window start: ISO 8601 or epoch ms. | |
| country | No | Optional filter: ISO country code. | |
| referrer | No | Optional filter: referrer domain. | |
| website_id | Yes | Umami website id. |