Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 929 Bytes

File metadata and controls

25 lines (15 loc) · 929 Bytes

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

Returns:

void