resetUserId

The resetUserId() method clears the set user ID. You can use it when a visitor logs out.

Syntax

resetUserId()
resetUserId(): void
resetUserId(): void
resetUserId(): void
resetUserId(): void
resetUserId(): void
resetUserId(): void

Examples

To clear the user ID:

_paq.push(["resetUserId"]);
resetUserId(): void
resetUserId(): void
resetUserId(): void
resetUserId(): void
resetUserId(): void
resetUserId(): void

Related methods