Table of Contents
adv.clientID
wrtc.adv.clientID is a string property containing client's unique ID.
Value
String: an ID unique for this client instance. Every web page must have a different ID. Even if same user has two different instances of the web client open those instances must have separate unique values.
Default value
A 36-byte random identifier according to UUID version 4
Usage
wrtc.adv.clientID is set to a random unique value by wrtc_kit at each page start. In most cases you never need to change its value.
Some systems may however want to use a different client ID scheme with guaranteed uniqueness.
Push notifications rely on same client always using same adv.clientID, even if new page is opened. Then wrtc.adv.clientID must be stored in cookie and set in wrtc.init(). See push notifications.
If you change wrtc.adv.clientID after wrtc.init() you must call wrtc.changeCredentials() afterwards.
Example
A typical wrtc.adv.clientID value may be "b46aee06-4ca3-4f1c-a2d1-4e1730af9ddb"