snowplow/snowplow-javascript-tracker

View on GitHub
api-docs/docs/browser-tracker/markdown/browser-tracker.browsertracker.clearuserdata.md

Summary

Maintainability
Test Coverage
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/browser-tracker](./browser-tracker.md) &gt; [BrowserTracker](./browser-tracker.browsertracker.md) &gt; [clearUserData](./browser-tracker.browsertracker.clearuserdata.md)

## BrowserTracker.clearUserData property

Clears all cookies and local storage containing user and session identifiers

<b>Signature:</b>

```typescript
clearUserData: (configuration?: ClearUserDataConfiguration) => void;
```