Skip to main content

benecaster_analytics_donations

Filter Premium analytics-dashboard

Fires every time the add-on reads Listener Support donations, after the per-show check: what GET benecaster-analytics/v1/analytics/donations answers. available says whether any show read had a donation in the range. One entry per currency, never summed across currencies. A donation with no amount is counted, never added as zero. Label them donations received, never revenue. A non-array return is ignored.

Parameters

Name Type Default Description
$data array — The donations, with `available`, `buckets`, `count`, `unpriced`, `points` and `currencies`.
$args array — `show_ids`, `date_from`, `date_to`, `tier_slug` (always null), `interval`.

Returns: array

Need this built rather than just documented? See our services →