Site Event Count
rybbit_get_site_event_countRetrieve time-bucketed event counts by type (pageviews, errors, clicks, etc.) to analyze tracking volume and mix over any period. Use filters and granularity to pinpoint trends.
Instructions
Get time-bucketed event counts broken down by type: pageviews, custom events, performance, outbound, errors, button clicks, copy, form submits, input changes. Useful for understanding the volume and mix of tracking events over time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | No | Time bucket granularity (default: day). Use 'hour' for last 24h, 'week'/'month' for long ranges | |
| 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 | |
| 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) |