get_website_stats
Retrieve website analytics metrics such as pageviews, unique visitors, visits, bounces, and total time for a specified date range.
Instructions
Get overview metrics for a website over a date range.
Returns pageviews, unique visitors, visits, bounces, and total time. If you get no data, double-check the date range before assuming there is none.
Args: website_id: The website id (from get_websites). start_at: Range start, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' (UTC). end_at: Range end, same formats (a bare date includes the whole day).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website_id | Yes | ||
| start_at | Yes | ||
| end_at | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |