Home > Overview channel-economics card (per-channel revenue + $/visitor + delta)
Returns per-channel economics for the trailing 30 days. Seven canonical channels in fixed order, each carrying converted revenue, distinct visitors, revenue-per-visitor, and the page-view delta versus the preceding 30-day window. Composes the same Metrics::TrafficSourcesCalculator and Metrics::Conversion::RowAssembler that power the Traffic > Sources tab, so the two surfaces stay in sync on the shared five-minute cache.
Authorizations
Bearer token authentication. Requires a company-admin token
whose role holds reports.view. Additionally, the caller's
company must have ANALYTICS_DASHBOARD enabled — otherwise
every endpoint returns 404.
Query Parameters
ISO alpha-2 code of one of the requesting company's configured
countries (see GET /countries). When present, every service
on this endpoint filters its data to that country and reports
money in the country's own currency. Omit (or send "all")
for the aggregate-across-countries view, which is the default
and matches pre-Phase-004 behavior. Unknown ISO codes or ones
the company is not configured for return 400.
"US"
Response
Channel-economics card payload
Per-channel revenue, visitors, and delta for the trailing 30 days. Seven canonical channels in fixed order — reps, email, paid, social, organic, referral, direct — even when a channel had no traffic (rows are zero-filled, never omitted).
7 elementsRecognized-order revenue in the window that has no
attribution row (mobile / backoffice / SDK / raw
checkouts). Exposed at the envelope level so no
per-channel revenue_per_visitor mixes an
untracked-cohort numerator with a tracked-cohort
denominator. Consumers can present it as a "not
attributed" supplemental line alongside the seven
channel rows.
"180.25"
ISO 4217 three-letter code (uppercase).
3"USD"