rybbit_compare_periods
Compare site overview metrics between a selected period and the equal-length preceding period, showing current values, previous values, and absolute and percent changes.
Instructions
Compare site overview metrics between a date range and the equal-length preceding period. Returns current values, previous values, and per-metric absolute and percent changes (percentChange is null when the previous value was 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID or identifier | |
| endDate | Yes | Current period end (YYYY-MM-DD) | |
| filters | No | JSON array of filter objects applied to both periods | |
| timeZone | No | IANA timezone identifier (e.g., America/New_York) | |
| startDate | Yes | Current period start (YYYY-MM-DD) |