Browse SDK

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(): void

Arguments

NameTypeMeaning
NoneThis method takes no arguments.

Example

reset.js
plandalf.ready(() => {
  plandalf.reset()
})

Returns

void

Behaviour

Clears the identified user while preserving the anonymous visitor ID.

All plandalf methods

Feature detail