get_summary
Retrieve top-line website analytics metrics including unique visitors, sessions, pageviews, bounce rate, and average visit duration for a specified period, with optional comparison to the previous period.
Instructions
Top-line metrics for a site over a period: unique visitors, sessions, pageviews, bounce rate, average visit duration. Set compareToPrevious to also get the previous period figures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date YYYY-MM-DD (use with `from`). | |
| tz | No | IANA timezone for bucketing, e.g. Europe/Paris. | |
| from | No | Start date YYYY-MM-DD (use with `to` for a custom range). | |
| domain | Yes | Site domain, e.g. example.com. | |
| period | No | Preset period (default 7d). Ignored when both `from` and `to` are set. | |
| compareToPrevious | No | Also return the previous period of equal length. |