Package-level declarations

Types

Link copied to clipboard
@Serializable
data class EventResponse(val cache: String?, val sessionId: String?, val visitId: String?, val beep: String?)

Represents the response from the Umami API after sending an event.

Link copied to clipboard

Represents the type of the event.

Functions

Link copied to clipboard
fun Umami.event(referrer: String? = null, title: String? = null, url: String? = null, name: String? = null, data: Map<String, Any?>? = null, tag: String? = null, timestamp: Long? = now(), id: String? = null)

Sends an event to the Umami API.

Link copied to clipboard
fun Umami.identify(data: Map<String, Any?>? = null, timestamp: Long? = now(), id: String? = null)

Sends an event to identify the user on the Umami server.