api-docs/docs/browser-tracker/markdown/browser-tracker.browsertracker.disableanonymoustracking.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) > [disableAnonymousTracking](./browser-tracker.browsertracker.disableanonymoustracking.md)
## BrowserTracker.disableAnonymousTracking property
Disables anonymous tracking if active (ie. tracker initialized with `anonymousTracking`<!-- -->) For stateStorageStrategy override, uses supplied value first, falls back to one defined in initial config, otherwise uses cookieAndLocalStorage.
<b>Signature:</b>
```typescript
disableAnonymousTracking: (configuration?: DisableAnonymousTrackingConfiguration) => void;
```