Analytics
Analytics module for the DevView developer tools suite.
This module provides real-time analytics event monitoring and visualization, allowing developers to track and debug analytics integration during development and testing.
Features
Real-time analytics event logging
Tabular display of events with timestamps
Multiple event type support (SCREEN, EVENT, CUSTOM)
Thread-safe in-memory storage
Reactive UI updates
Integration
The Analytics module integrates with the DevView core framework as part of the LOGGING section. It provides navigation destinations and UI components that can be accessed through the DevView menu.
Module Configuration
val devView = DevView(
modules = listOf(
Analytics,
// other modules...
)
)Logging Events
AnalyticsLogger.log(
AnalyticsLog(
tag = "user_action",
screenClass = "HomeScreen",
timestamp = System.currentTimeMillis(),
type = AnalyticsLogType.EVENT
)
)See also
Constructors
Properties
Maps each navigation destination in this module to its DestinationMetadata.
Registers serializers for navigation destinations.
Functions
Registers the composable content for each navigation destination.