Skip to main content

Nielsen DCR & DTVR

Nielsen Digital Content Ratings (DCR) and Digital TV Ratings (DTVR) are both measurement systems developed by Nielsen to provide insights into audience behavior and engagement across digital media.

Configuration​

AttributeTypeRequiredDescription
enabledbooleanYesEnable the plugin (Defaults to false if no value is given.)
appIdstringYesUnique ID assigned to the player/site and configured by product provided by Nielsen
initializationObject<[key: string]: string>NoThe initialization parameters of the Nielsen SDK.
metadataObject<[key: string]: string>NoThe metadata to be sent to the Nielsen.
const config = {
...
plugins: {
...
nielsen: {
enabled: true,
appId: "APP_ID_PROVIDED_BY_NIELSEN",
initialization: {
...
key: "value",
...
},
metadata: {
...
key: "value",
...
}
},
...
},
...
};
const player = new lura.Player(document.getElementById("player"));
player.setConfig(config);