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>;
}