Skip to main content
Version: Next

AnalyticsEvent

AnalyticsEvent

AnalyticsEvent interface represents an event that can be tracked by an analytics provider. It includes the event name, an optional unique identifier, and a data object containing event-specific information.

Signature
interface AnalyticsEvent {
name: string;
id?: string;
data: Record<string, any>;
}

name

property
string

id

property
string

data

property
Record<string, any>