Get analytics over a date range
pushengage_get_analytics_timeseriesRetrieve push notification analytics over a date range, bucketed by day, week, or month. Track subscribers gained, notifications sent, views, clicks, CTR, and unsubscribes to identify engagement trends.
Instructions
Returns a time series of the current site's analytics between start_date and end_date, bucketed by group_by. Each point has subscribers gained, notifications sent, views, clicks, ctr, and unsubscribes for that bucket. Use this for trends or metrics over a period; for all-time totals use pushengage_get_analytics_summary instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Override the currently selected site. | |
| end_date | Yes | End of the range (inclusive). Format: YYYY-MM-DD. Must be on or after start_date. | |
| group_by | No | How to bucket the series: one point per day, week, or month. | day |
| start_date | Yes | Start of the range (inclusive). Format: YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| points | No | ||
| end_date | No | ||
| group_by | No | ||
| start_date | No |