Package io.constructor.data.model.tracking

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class MediaImpressionRequestBody(    @Json(name = "banner_ad_id") val bannerAdId: String,     @Json(name = "placement_id") val placementId: String,     @Json(name = "analytics_tags") val analyticsTags: Map<String, String>?,     @Json(name = "beacon") val beacon: Boolean = true,     @Json(name = "c") val c: String,     @Json(name = "i") val i: String,     @Json(name = "s") val s: Int,     @Json(name = "key") val key: String,     @Json(name = "ui") val ui: String?,     @Json(name = "us") val us: List<String?>,     @Json(name = "_dt") val _dt: Long?) : Serializable
Link copied to clipboard

The feedback a user gave on a Product Insights Agent answer, used in Product Insights Agent tracking events

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ProductInsightsAgentQuestion(@Json(name = "question") val question: String, @Json(name = "question_topic") val questionTopic: String? = null) : Serializable

Models a question shown by the Product Insights Agent, used in Product Insights Agent tracking events

Link copied to clipboard
data class ProductInsightsAgentViewTimespan(val start: Long, val end: Long) : Serializable

Models a span of time during which the Product Insights Agent was in view, used in Product Insights Agent tracking events. Sent as ISO-8601 UTC timestamps, i.e. "2026-10-22T02:40:05.123Z"

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ResultsImpressionViewRequestBody(    @Json(name = "items") val items: List<ResultsImpressionItem>,     @Json(name = "search_term") val searchTerm: String?,     @Json(name = "filter_name") val filterName: String?,     @Json(name = "filter_value") val filterValue: String?,     @Json(name = "analytics_tags") val analyticsTags: Map<String, String>?,     @Json(name = "beacon") val beacon: Boolean = true,     @Json(name = "c") val c: String,     @Json(name = "i") val i: String,     @Json(name = "s") val s: Int,     @Json(name = "key") val key: String,     @Json(name = "ui") val ui: String?,     @Json(name = "us") val us: List<String?>,     @Json(name = "_dt") val _dt: Long?) : Serializable