Get traffic sources
Returns the store’s traffic broken down by acquisition source for a named reporting period.
The payload carries the resolved period window, the per-channel split across all seven canonical channels (reps, email, paid, social, organic, referral, direct) with each channel’s gross page views, distinct visitors, visitor share, and period-over-period page-view change, the ranked top referring hosts (with a trailing “(other)” row folding the tail), and the total distinct visitors over the window.
Authorizations
Bearer token authentication
Query Parameters
Named reporting period (default last_30_days). Supported names: today, last_7_days, last_30_days, last_90_days, last_12_months, this_month, last_month. An unsupported name returns 422.
Response
Success
Store-traffic sources for a period — the resolved window, the per-channel split across the seven canonical channels, and the ranked top referring hosts, wrapped in the standard API response envelope.
The seven canonical acquisition channels in fixed order.
7 elementsReferring hosts ranked by distinct visitors, optionally ending in an "(other)" row folding the tail.
Total distinct bot-free visitors over the window.
The HTTP status code echoed in the response envelope.