Builder
class Builder( val itemId: String, val questions: List<ProductInsightsAgentQuestion>, val viewTimespans: List<ProductInsightsAgentViewTimespan>)
Content copied to clipboard
Builder for ProductInsightsAgentViewsTrackingData
Constructors
Link copied to clipboard
fun Builder( itemId: String, questions: List<ProductInsightsAgentQuestion>, viewTimespans: List<ProductInsightsAgentViewTimespan>)
Content copied to clipboard
Functions
Link copied to clipboard
Builds the ProductInsightsAgentViewsTrackingData
Link copied to clipboard
fun setAnalyticsTags(analyticsTags: Map<String, String>): ProductInsightsAgentViewsTrackingData.Builder
Content copied to clipboard
Sets analyticsTags
Link copied to clipboard
fun setItemName(itemName: String): ProductInsightsAgentViewsTrackingData.Builder
Content copied to clipboard
Sets itemName
Link copied to clipboard
fun setSectionName(sectionName: String): ProductInsightsAgentViewsTrackingData.Builder
Content copied to clipboard
Sets sectionName
Link copied to clipboard
fun setThreadId(threadId: String): ProductInsightsAgentViewsTrackingData.Builder
Content copied to clipboard
Sets threadId
Link copied to clipboard
fun setVariationId(variationId: String): ProductInsightsAgentViewsTrackingData.Builder
Content copied to clipboard
Sets variationId
Properties
Link copied to clipboard
Additional analytics tags to pass. Merged with io.constructor.core.ConstructorIoConfig.defaultAnalyticsTags, with request-level values overriding defaults on key collision
Link copied to clipboard
The index section, i.e. "Products". Defaults to io.constructor.core.ConstructorIoConfig.defaultItemSection