node-tracker.tracker
Home > @snowplow/node-tracker > Tracker
Tracker interface
Signature:interface Tracker extends TrackerCore
Extends: TrackerCore
Properties
Property | Type | Description |
---|---|---|
flush | () => Promise<void> | Calls flush on all emitters in order to send all queued events to the collector |
setDomainUserId | (userId: string) => void | Set the domain user ID |
setNetworkUserId | (userId: string) => void | Set the network user ID |
setSessionId | (sessionId: string) => void | Set the session ID (domain_sessionid in the atomic events) |
setSessionIndex | (sessionIndex: string | number) => void | Set the session index (domain_sessionidx in the atomic events) |