Skip to main content
Version: Next

AnalyticsEvent

AnalyticsEvent

The type of analytics events that can be tracked in CommandKit. This type is derived from the keys of the AnalyticsEvents object. It ensures that only valid analytics events can be used in the tracking functions.

Signature
type AnalyticsEvent = (typeof AnalyticsEvents)[keyof typeof AnalyticsEvents]