Engage.getBrowserId()
The getBrowserId()
function returns the browser ID. This function is used for testing and debugging purposes.
Log the browser ID to the console:
RequestResponse
console.log("bid:", engage.getBrowserId());
// "bid: a38b230c-11eb-4cf9-8d5d-274e9f344925"
You can use the string that was logged to the console to find data about a specific user in Sitecore CDP.