node-tracker.buildstructevent
Home > @snowplow/node-tracker > buildStructEvent
buildStructEvent() function
Build a Structured Event A classic style of event tracking, allows for easier movement between analytics systems. A loosely typed event, creating a Self Describing event is preferred, but useful for interoperability.
Signature:declare function buildStructEvent(event: StructuredEvent): PayloadBuilder;
Parameters
Parameter | Type | Description |
---|---|---|
event | StructuredEvent | Contains the properties for the Structured event |
PayloadBuilder
PayloadBuilder to be sent to