get_metrics
Analyze website performance by breaking down metrics across dimensions like traffic sources, user devices, geographic locations, and content engagement to identify trends and optimization opportunities.
Instructions
Get a breakdown of metrics by a given dimension (url, referrer, browser, os, device, country, event, etc.) for a website.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| websiteId | Yes | Website UUID | |
| startAt | Yes | Start timestamp in Unix milliseconds | |
| endAt | Yes | End timestamp in Unix milliseconds | |
| type | Yes | Metric dimension to break down by | |
| limit | No | Maximum number of results (default: 500) | |
| offset | No | Number of results to skip for pagination | |
| path | No | Filter by URL path | |
| referrer | No | Filter by referrer | |
| title | No | Filter by page title | |
| query | No | Filter by query string | |
| browser | No | Filter by browser name | |
| os | No | Filter by operating system | |
| device | No | Filter by device type (desktop, mobile, tablet) | |
| country | No | Filter by country code (e.g. US, DE) | |
| region | No | Filter by region | |
| city | No | Filter by city | |
| hostname | No | Filter by hostname | |
| language | No | Filter by language | |
| event | No | Filter by event name | |
| tag | No | Filter by tag |