plandalf.reset()
Clear the current visitor identity.
Implemented by the browser object; parameter and return types follow the delegated class declaration.
Call this after plandalf.ready(). The browser wrapper can return undefined before initialization.
Signature
plandalf.reset(): voidArguments
| Name | Type | Meaning |
|---|---|---|
| None | — | This method takes no arguments. |
Example
reset.js
plandalf.ready(() => {
plandalf.reset()
})Returns
void
Behaviour
Clears the identified user while preserving the anonymous visitor ID.