Compare two periods
compare_analyticsCompare two analytics periods to spot changes in taps, app opens, installs, conversions, and revenue, including row-by-row group results for diagnosing drops.
Instructions
Read-only. Compares two periods: taps, app opens, installs, conversions and revenue now against before, with the change and the percent change (null when before was 0). By default "before" is the period of the same length just before. With group (channel, platform or link) it compares each row too, biggest first. Use it for "how did this week do against last week" or "why did installs drop". Days are UTC; each period at most 92 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Exclusive end, same formats; default now | |
| from | No | Inclusive start: 2026-10-01, an ISO date-time or epoch ms | |
| link | No | Only this link (slug) | |
| group | No | Also compare row by row | |
| limit | No | Rows to compare with group, default 10 | |
| compareTo | No | End of the period to compare against; default: from | |
| compareFrom | No | Start of the period to compare against; default: just before from |