Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 821 Bytes

File metadata and controls

26 lines (15 loc) · 821 Bytes

Home > @snowplow/node-tracker > buildSelfDescribingEvent

buildSelfDescribingEvent() function

Build a self-describing event A custom event type, allowing for an event to be tracked using your own custom schema and a data object which conforms to the supplied schema

Signature:

declare function buildSelfDescribingEvent(event: SelfDescribingEvent): PayloadBuilder;

Parameters

Parameter Type Description
event SelfDescribingEvent Contains the properties and schema location for the event

Returns:

PayloadBuilder

PayloadBuilder to be sent to