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
Newest-first event rows with timestamps and selectable details
Screen, action, lifecycle, performance and user event categories
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 modules = rememberModules {
module(Analytics())
}
// Pass modules to DevView; registration supplies the tool content.Logging Events
AnalyticsLogger.log(
AnalyticsLog(
tag = "user_action",
screenClass = "HomeScreen",
timestamp = System.currentTimeMillis(),
type = AnalyticsLogCategory.Action.Click
)
)See also
Constructors
Properties
Maps each navigation destination in this module to its DestinationMetadata.
Icon identifying this module on the home screen.
Name displayed on the home screen and default destination toolbar.
Registers serializers for navigation destinations.
Functions
Registers the composable content for each navigation destination.