nl_tokens: Returns the DCM Floodlight session id generating a new one if there s not already one
pl_tokens: function floodlightSessionId ( ) { const cookies = cookie . <mask> ( document . cookie ) ; const existingSessionId = cookies [ DCM_FLOODLIGHT_SESSION_COOKIE_NAME ] ; if ( existingSessionId ) { debug ( 'Floodlight: Existing session: ' + existingSessionId ) ; return existingSessionId ; } // Generate a 32-byte random session id const newSessionId = uuid ( ) . replace ( new RegExp ( '-' , 'g' ) , '' ) ; debug ( 'Floodlight: New session: ' + newSessionId ) ; return newSessionId ; }