Channels

Get enriched channel breakdown with UTM parameters for a site.

Channels

Returns enriched channel data combining UTM parameters with referrer information, ranked by visitor count.

Endpoint

GET /api/v1/organizations/:orgId/sites/:siteId/analytics/channels/enriched

Query Parameters

ParameterTypeRequiredDescription
periodstringNoTime period (day, 7d, 30d, month, 12mo, custom)
limitnumberNoMaximum number of results (default: 10)
filtersstringNoJSON-encoded filter array

Response fields

Returns a wrapped response with channels and currency:

FieldTypeDescription
channelsarrayArray of channel entries (see below)
currencystringCurrency code (e.g. USD)

Each channel entry:

FieldTypeDescription
channelstringChannel name
visitorsnumberUnique visitors from this channel
total_revenuenumberTotal revenue from this channel
top_sourcesarrayTop sources within the channel (see below)

Each top_sources entry:

FieldTypeDescription
sourcestringSource name
visitorsnumberUnique visitors from this source
percentnumberPercentage of channel visitors
EndpointDescription
.../analytics/sourcesTraffic grouped by top-level source
.../analytics/referrersTraffic grouped by normalized referrer domain
.../analytics/campaignsTraffic grouped by UTM campaign