Skip to main content
Version: 1.x

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]