Boxever.getID()
The getID() function returns the browser ID.
Every event that you send to Sitecore Personalize must include the browser ID.
Use this function in every event object you create and send to Sitecore Personalize. See [eventCreate()](bx-eventcreate.md "Boxever.eventCreate(event, callback, format)").
Parameters
none
Return value
string
Example
Log the browser ID to the console:
If you have suggestions for improving this article, let us know!