VisitorDto
data class VisitorDto(val id: String = "", val siteId: String = "", val email: String? = null, val name: String? = null, val phone: String? = null, val avatarUrl: String? = null, val externalId: String? = null, val customData: JsonObject = EmptyJsonObject, val locale: HatangLocale? = null, val identifiedAt: Instant? = null, val client: String = "app", val app: VisitorAppInfo? = null, val currentScreen: String? = null, val visits: Int = 1, val raw: JsonObject = EmptyJsonObject)
The visitor (this app's user as the site sees them).
Constructors
Link copied to clipboard
constructor(id: String = "", siteId: String = "", email: String? = null, name: String? = null, phone: String? = null, avatarUrl: String? = null, externalId: String? = null, customData: JsonObject = EmptyJsonObject, locale: HatangLocale? = null, identifiedAt: Instant? = null, client: String = "app", app: VisitorAppInfo? = null, currentScreen: String? = null, visits: Int = 1, raw: JsonObject = EmptyJsonObject)
Properties
Link copied to clipboard
Registered app details for app visitors.
Link copied to clipboard
The screen the app reported.
Link copied to clipboard
Custom data (from identify / setData).
Link copied to clipboard
The host app's user id (from identify).
Link copied to clipboard
When the visitor was identified.
Link copied to clipboard
Identified via identify (has an external id, email or phone).
Link copied to clipboard
Preferred locale.