Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 733 Bytes

File metadata and controls

25 lines (15 loc) · 733 Bytes

Home > @snowplow/browser-tracker > clearUserData

clearUserData() function

Clears all cookies and local storage containing user and session identifiers

Signature:

declare function clearUserData(configuration?: ClearUserDataConfiguration, trackers?: Array<string>): void;

Parameters

Parameter Type Description
configuration ClearUserDataConfiguration
trackers Array<string> The tracker identifiers which the event will be sent to

Returns:

void