get_event_timeseries
Retrieve event count trends over time with optional filters for country, browser, OS, device, UTM source, or referrer to analyze frequency changes.
Instructions
Get event counts bucketed over time for a specific event. Useful for seeing how event frequency changes. Optional filters segment by country, browser, os, device type, UTM source, or referrer (matched against the session's page views).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"event_name": "<event_name>"
},
"name": "get_event_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site domain or UUID | |
| period | No | Time period | 30d |
| interval | No | Bucket interval | |
| filter_os | No | OS substring match (e.g. 'iOS') | |
| event_name | Yes | The event name to get timeseries for | |
| 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') |