This page covers data collection for the Originator variable. See Originator for the corresponding reporting dimension.
The originator variable is the creator or production studio of the content (for example, "Warner Brothers", "Sony", or "Disney"). Use it to compare engagement across content owners or rights holders.
a.media.originatorWeb SDK
Set originator inside mediaCollection.sessionDetails when calling sendEvent:
alloy("sendEvent", {
xdm: {
eventType: "media.sessionStart",
mediaCollection: {
sessionDetails: {
originator: "Warner Brothers"
},
playhead: 0
}
}
});
Mobile SDK
Pass the originator as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.ORIGINATOR.
iOS (Swift)
var metadata: [String: String] = [:]
metadata[MediaConstants.VideoMetadataKeys.ORIGINATOR] = "Warner Brothers"
tracker.trackSessionStart(info: mediaObject, metadata: metadata)
Android (Kotlin)
val metadata = HashMap<String, String>()
metadata[MediaConstants.VideoMetadataKeys.ORIGINATOR] = "Warner Brothers"
tracker.trackSessionStart(mediaInfo, metadata)
Roku (BrightScript)
Use createMediaSession to set originator inside sessionDetails:
m.aepSdk.createMediaSession({
"xdm": {
"eventType": "media.sessionStart",
"mediaCollection": {
"sessionDetails": {
"originator": "Warner Brothers"
},
"playhead": 0
}
}
})
Media Edge API
Call the sessionStart endpoint with originator inside mediaCollection.sessionDetails:
{
"events": [{
"xdm": {
"eventType": "media.sessionStart",
"mediaCollection": {
"sessionDetails": {
"name": "video-123",
"length": 128,
"contentType": "vod",
"playerName": "HTML5 Player",
"channel": "Sports",
"originator": "Warner Brothers"
},
"playhead": 0
}
}
}]
}
Media SDK
Pass the originator in the contextData object using ADB.Media.VideoMetadataKeys.Originator:
var contextData = {};
contextData[ADB.Media.VideoMetadataKeys.Originator] = "Warner Brothers";
tracker.trackSessionStart(mediaInfo, contextData);
Media Collection API
Include media.originator in the params object:
{
"playerTime": { "playhead": 0, "ts": 1699523820000 },
"eventType": "sessionStart",
"params": {
"media.originator": "Warner Brothers"
}
}
See the Media Collection API sessions reference for the full request structure.