Boxever.reset()
The reset()
function reinitializes the Boxever JavaScript Library. During reinitialization, the function:
-
Clears the event queue.
-
Deletes the browser ID and the guest reference.
-
Reloads the Boxever JavaScript Library. During loading, the Boxever JavaScript Library creates a browser ID and a guest reference.
Parameters
none
Return value
undefined
Example
This example describes how to test that the reset()
function deletes, then creates a new browser ID.