Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.15 KB

File metadata and controls

23 lines (16 loc) · 1.15 KB

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)