api-docs/docs/browser-tracker/markdown/browser-tracker.browsertracker.clearuserdata.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [BrowserTracker](./browser-tracker.browsertracker.md) > [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;
```