EventDto

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)

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.