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
  1. kWidget.embed({
  2. ...
  3. 'flashvars': {
  4. 'omnitureOnPage' :{
  5. 'additionalEvarsAndProps': "eVar50",
  6. 'additionalEvarsAndPropsValues': "{myUserTracker.userId}"
  7. }
  8. },
  9. 'readyCallback': function( playerId ){
  10. var kdp = $('#' + playerId )[0];
  11. kdp.setKDPAttribute('myUserTracker', 'userId', '12345');
  12. }
  13. });
In the network log you can see: v50 with value of 12345 html5 qunit | flash qunit