get_timeseries
Retrieve visitor and page view counts over time, bucketed hourly or daily, with optional filters by country, browser, OS, device, UTM source, or referrer.
Instructions
Get visitor and page view counts bucketed over time (hourly or daily). Returns an array of {date_label, page_views, unique_visitors} objects. Optional filters segment by country, browser, os, device type, UTM source, or referrer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site domain or UUID | |
| period | No | Time period | 30d |
| interval | No | Bucket interval. Auto-selected based on period if omitted. | |
| filter_os | No | OS substring match (e.g. 'iOS') | |
| filter_browser | No | Browser substring match (e.g. 'Chrome') | |
| filter_country | No | 2-letter country code (e.g. 'US') | |
| filter_utm_source | No | Exact UTM source (e.g. 'twitter') | |
| filter_device_type | No | Device type: 'desktop' | 'mobile' | 'tablet' | |
| filter_referrer_contains | No | Referrer substring (e.g. 'google') |