Retrieves the 'device id,' a randomly generated ID that is stored by the storage manager. This ID resets for private browsing sessions and when website data is cleared. For example:
console.log('The device id is ' + braze.getDeviceId()); Copy
console.log('The device id is ' + braze.getDeviceId());
Retrieves the 'device id,' a randomly generated ID that is stored by the storage manager. This ID resets for private browsing sessions and when website data is cleared. For example: