EventDto

data class EventDto(var eventName: String, var deviceId: String, var userId: String? = null, var timestamp: OffsetDateTime? = null, var items: MutableList<MutableMap<String, String>>? = null, var parameters: MutableMap<String, String>? = null, var performance: MutableMap<String, String>? = null, var metadata: MutableMap<String, String>? = null)

Parameters

eventName

The name of the event to track, e.g., 'button_click', 'screen_view'.

deviceId

A unique identifier for the device triggering the event.

userId

A unique identifier for the user triggering the event.

timestamp

The time the event occurred.

items
parameters

Optional key-value pairs representing additional parameters for the event.

performance

Optional object to track performance metrics, e.g., page load time, DNS lookup time.

metadata

Key/Value list for extended logging data / metadata.

Constructors

Link copied to clipboard
constructor(eventName: String, deviceId: String, userId: String? = null, timestamp: OffsetDateTime? = null, items: MutableList<MutableMap<String, String>>? = null, parameters: MutableMap<String, String>? = null, performance: MutableMap<String, String>? = null, metadata: MutableMap<String, String>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard