get
https://www.pelcro.com/api/v1/core/analytics/customers/activity/event-counts
Count a single activity event over a window, with an optional dimension breakdown.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Counts how many times a single event (event_name) occurred for the site over the window, and — when group_by is supplied — breaks that total down by one dimension.
- Dimensions (
group_by):page,referrer,country,platform,utm_source,utm_medium,utm_campaign. Each bucket'spercentageis its share oftotal. - Without
group_by, onlytotalis returned anddatais empty. - Per-customer: pass
user_idto scope the count to one customer; the customer must belong to the site (otherwise404).
Use it for questions like "how many subscriptions were created last month, by referrer?"

