Omniture sCode Per user data
This demo highlights per user data added to the omniture beacons.
Sample embed code and custom vars tracking of user id against evar50
- kWidget.embed({
- ...
- 'flashvars': {
- 'omnitureOnPage' :{
- 'additionalEvarsAndProps': "eVar50",
- 'additionalEvarsAndPropsValues': "{myUserTracker.userId}"
- }
- },
- 'readyCallback': function( playerId ){
- var kdp = $('#' + playerId )[0];
- kdp.setKDPAttribute('myUserTracker', 'userId', '12345');
- }
- });
In the network log you can see: v50 with value of 12345
html5 qunit | flash qunit