Umami
class Umami(website: Uuid, enableEventQueue: Boolean = true, umamiOptions: UmamiOptionsBuilder.() -> Unit = {})
The main entry point for the Umami analytics library. This class is responsible for initializing the Umami configuration and managing the event queue.
Parameters
enableEventQueue
A flag to enable or disable the event queue.
umamiOptions
A builder for configuring Umami options.
See also
This is an internal API and may be changed in the future.
Constructors
Link copied to clipboard
constructor(website: Uuid, enableEventQueue: Boolean = true, umamiOptions: UmamiOptionsBuilder.() -> Unit = {})
Creates an Umami instance.
Creates an Umami instance.
Properties
Link copied to clipboard
An HTTP client for making requests to the Umami API. This client is created lazily to ensure it is initialized only when needed.
Link copied to clipboard
Provides convenient, internal access to the configured UmamiLogger instance.