Metric Breakdown
rybbit_get_metricRetrieve website analytics broken down by dimension—pages, tech, geo, marketing, traffic sources, or user flow—and get sorted counts, percentages, bounce rate, and session duration.
Instructions
Get metric breakdown by dimension. Use parameter='pathname' for top pages, 'browser'/'operating_system'/'device_type' for tech stats, 'country'/'city' for geo, 'utm_source'/'utm_campaign' for marketing, 'referrer'/'channel' for traffic sources, 'entry_page'/'exit_page' for user flow. Returns sorted list with counts, percentages, bounce rate, and session duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-indexed (default: 1) | |
| limit | No | Results per page (default: 20-50 depending on endpoint, max 200) | |
| siteId | Yes | Site ID (numeric ID or domain identifier) | |
| endDate | No | End date in ISO format (YYYY-MM-DD) | |
| filters | No | Array of filters. Example: [{parameter:'browser',type:'equals',value:['Chrome']},{parameter:'country',type:'equals',value:['US','DE']}] | |
| timeZone | No | IANA timezone (e.g., Europe/Prague). Default: UTC | |
| parameter | Yes | Metric dimension to break down by | |
| startDate | No | Start date in ISO format (YYYY-MM-DD) | |
| pastMinutesEnd | No | Alternative to dates: minutes ago end (default 0 = now) | |
| pastMinutesStart | No | Alternative to dates: minutes ago start (e.g., 60 = last hour) |