get_breakdown
Retrieve Plausible analytics metrics segmented by page, source, country, browser, OS, or device for a selected site and date range.
Instructions
Get metrics breakdown by dimension: pages, sources, countries, browsers, operating systems, or devices.
Args: site_id: Domain name of the site in Plausible (e.g. 'surendranb.com'). property_name: Dimension to segment by. Accepts aliases: 'page', 'source', 'country', 'browser', 'os', 'device', 'entry_page', 'exit_page', 'city', 'region', or full Plausible names like 'event:page', 'visit:source'. date_range: Time period ('day', '7d', '30d', 'month', '6mo', '12mo', or 'YYYY-MM-DD,YYYY-MM-DD'). Default '30d'. limit: Maximum number of rows to return (default 20, max 100). token: Optional Plausible API token. If omitted, uses PLAUSIBLE_API_KEY environment variable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| token | No | ||
| site_id | Yes | ||
| date_range | No | 30d | |
| property_name | No | event:page |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |