Home > @snowplow/node-tracker > Emitter
Signature:
interface Emitter | Property | Type | Description |
|---|---|---|
| flush | () => void | |
| input | (payload: Payload) => void | |
| setAnonymization? | (shouldAnonymize: boolean) => void | (Optional) 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/. |