snowplow/snowplow-javascript-tracker

View on GitHub
api-docs/docs/node-tracker/markdown/node-tracker.emitter.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)

## Emitter interface

<b>Signature:</b>

```typescript
interface Emitter 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [flush](./node-tracker.emitter.flush.md) | () =&gt; void |  |
|  [input](./node-tracker.emitter.input.md) | (payload: Payload) =&gt; void |  |
|  [setAnonymization?](./node-tracker.emitter.setanonymization.md) | (shouldAnonymize: boolean) =&gt; 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/. |