Boxever.getID()
The getID()
function returns the browser ID.
Every event that you send to Sitecore CDP must include the browser ID.
Use this function in every event object you create and send to Sitecore CDP. See eventCreate()
.
Parameters
none
Return value
string
Example
Log the browser ID to the console: