snowplow/snowplow-javascript-tracker

View on GitHub
api-docs/docs/node-tracker/markdown/node-tracker.emitter.setanonymization.md

Summary

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

[Home](./index.md) &gt; [@snowplow/node-tracker](./node-tracker.md) &gt; [Emitter](./node-tracker.emitter.md) &gt; [setAnonymization](./node-tracker.emitter.setanonymization.md)

## Emitter.setAnonymization property

Set if the requests from the emitter should be anonymized. Read more about anonymization used at https://docs.snowplow.io/docs/collecting-data/collecting-from-own-applications/snowplow-tracker-protocol/going-deeper/http-headers/.

<b>Signature:</b>

```typescript
setAnonymization?: (shouldAnonymize: boolean) => void;
```