Home > @snowplow/browser-tracker > trackStructEvent
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;| Parameter | Type | Description |
|---|---|---|
| event | StructuredEvent & CommonEventProperties | The Structured Event properties |
| trackers | Array<string> | The tracker identifiers which the event will be sent to |
Returns:
void