api-docs/docs/node-tracker/markdown/node-tracker.emitter.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/node-tracker](./node-tracker.md) > [Emitter](./node-tracker.emitter.md)
## Emitter interface
<b>Signature:</b>
```typescript
interface Emitter
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [flush](./node-tracker.emitter.flush.md) | () => void | |
| [input](./node-tracker.emitter.input.md) | (payload: Payload) => void | |
| [setAnonymization?](./node-tracker.emitter.setanonymization.md) | (shouldAnonymize: boolean) => void | <i>(Optional)</i> 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/. |