browser-tracker.clearuserdata
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 |
void