Skip to main content

node-tracker.trackercore.track

Home > @snowplow/node-tracker > TrackerCore > track

TrackerCore.track property

Call with a payload from a buildX function Adds context and payloadPairs name-value pairs to the payload Applies the callback to the built payload

Signature:
track: (pb: PayloadBuilder, context?: Array<SelfDescribingJson> | null, timestamp?: Timestamp | null) => Payload | undefined;