get_aggregate
Retrieve period totals for a site: visitors, pageviews, bounce rate, and visit duration for a specified date range.
Instructions
Period totals for one site: visitors, pageviews, bounce_rate, visit_duration. Use this for 'how many visitors did site X get in date range Y' style questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | Date range. Accepts natural strings ('today', 'yesterday', 'last 7 days', 'last 30 days', 'this week', 'last week', 'this month', 'last month') or an explicit 'YYYY-MM-DD..YYYY-MM-DD' range. UTC. If you have separate from/to dates, use the explicit form. | |
| site_id | Yes | Site ID. Get it from list_sites if you don't know it. |