This page covers data collection for the Content channel variable. See Content channel for the corresponding reporting dimension.
The content channel variable identifies the distribution station, network, or property where the content plays. It is required for all streaming media implementations. Any string is accepted. Typical values include a network name, a portion of a site path, or an internal property identifier.
a.media.channelc_contextdata.a.media.channelRecommended implementation types
Set channel inside xdm.mediaCollection.sessionDetails when calling sendEvent:
| code language-javascript |
|---|
|
Set the channel through the tracker configuration when creating the tracker, using MediaConstants.TrackerConfig.CHANNEL. The channel is not part of the media object.
| code language-swift |
|---|
|
Set the channel through the tracker configuration when creating the tracker, using MediaConstants.TrackerConfig.CHANNEL. The channel is not part of the media object.
| code language-kotlin |
|---|
|
Set channel inside xdm.mediaCollection.sessionDetails when calling createMediaSession:
| code language-brightscript |
|---|
|
Call the sessionStart endpoint with channel inside xdm.mediaCollection.sessionDetails:
| code language-json |
|---|
|
Legacy implementation types (Analytics-only)
Set the channel on ADB.MediaConfig before creating the tracker:
| code language-javascript |
|---|
|
Pass channel as a standard metadata key when calling trackSessionStart:
| code language-javascript |
|---|
|
Include media.channel in the params object of your sessionStart POST request:
| code language-json |
|---|
|
See the Media Collection API sessions reference for the full request structure.