analytics library

Classes

AnalyticsEvent
Represents a single analytics event with a name, optional parameters, and a timestamp.
AnalyticsProvider
Contract that every analytics back-end must implement.
EventCounter
Persists occurrence counts for named analytics events across app sessions.
EventTracker
Central fan-out hub for analytics events.
FunnelDefinition
Defines a named multi-step user funnel.
FunnelState
Immutable snapshot of a user's progress through a funnel.
FunnelTracker
Tracks multi-step user funnels and forwards funnel events to EventTracker.
SessionEndedEvent
Emitted when a session ends.
SessionEvent
Discriminated union of all events emitted by SessionTracker.
SessionIdleEvent
Emitted when the tracker detects the user has been idle.
SessionStartedEvent
Emitted when a new session starts.
SessionTracker
Tracks app session lifecycle and idle detection.

Enums

FunnelStatus
The lifecycle status of a funnel session.