browser-tracker.trackstructevent
Home > @snowplow/browser-tracker > trackStructEvent
trackStructEvent() function
Track 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 trackStructEvent(event: StructuredEvent & CommonEventProperties, trackers?: Array<string>): void;
Parameters
Parameter | Type | Description |
---|---|---|
event | StructuredEvent & CommonEventProperties | The Structured Event properties |
trackers | Array<string> | The tracker identifiers which the event will be sent to |
void