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 sites (with a trailing “(other)” row folding the tail), and the total distinct visitors over the window.
A referring site is ranked once even when it reaches the store under
several hostnames: each row carries the site’s name alongside one real
host observed under it.
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 sites, wrapped in the standard API response envelope.
The seven canonical acquisition channels in fixed order.
7 elementsReferring sites ranked by distinct visitors, optionally ending in an "(other)" row folding the tail. A site that reaches the store under several hostnames (facebook.com, m.facebook.com, l.facebook.com) is one row, not one row per hostname.
Total distinct bot-free visitors over the window.
The HTTP status code echoed in the response envelope.