Get traffic campaigns
Returns the store’s UTM-tagged traffic broken down by campaign for a named reporting period.
The payload carries the resolved period window, the tagged-traffic summary headline (distinct tagged visitors, their share of all visitors, and the number of active campaigns), the ranked per-campaign split keyed by the (campaign, source, medium) tuple with a trailing “(other)” row folding the tail, and the five per-dimension UTM rankings (sources, mediums, campaigns, contents, terms).
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 campaigns for a period — the resolved window, the tagged-traffic summary headline, the ranked per-campaign split, and the five per-dimension UTM rankings, wrapped in the standard API response envelope.
Campaigns ranked by distinct visitors, keyed by the (campaign, source, medium) tuple, optionally ending in an "(other)" row folding the tail.
The HTTP status code echoed in the response envelope.