Should be a central configuration in the SDK that contains a mapping of dimension[1,2,33,44,etc] to what metadata key they should be using to retrieve the value.
For instance, given the following central config mapping:
{
[ | |
{ | |
"url": "//www.onionstudios.com/embed?id=4838", | |
"weight": 11 | |
}, | |
{ | |
"url": "//www.onionstudios.com/embed?id=4839", | |
"weight": 11 | |
}, | |
{ |
Should be a central configuration in the SDK that contains a mapping of dimension[1,2,33,44,etc] to what metadata key they should be using to retrieve the value.
For instance, given the following central config mapping:
{
Below making assumption that these are the following dimensions:
Requirement is that each instance of a JWPlayer video player has its own namespaced client-side GA tracker
var audio,music,musicParse;audio="",musicParse=function(f){return eval("for(var t=0,S='RIFF_oO_WAVEfmt "+atob("EAAAAAEAAQBAHwAAQB8AAAEACAA")+"data';++t<3e5;)S+=String.fromCharCode("+f+")")},(music=function(){var a;return a="(t<<3)*[8/9,1,9/8,6/5,4/3,3/2,0][[0xd2d2c8,0xce4088,0xca32c8,0x8e4009][t>>14&3]>>(0x3dbe4688>>((t>>10&15)>9?18:t>>10&15)*3&7)*3&7]&255",audio=new Audio("data:audio/wav;base64,"+btoa(musicParse(a))),audio.play()})(); |
Examples:
{