The anonymize() method is used for ending the recording of the current user's session. New visitor with new session will be created.

Syntax

anonymize()

Parameters

There is no parameters

Return value

void

Examples

Smartlook.anonymize()