track Product Insights Agent Answer View
fun trackProductInsightsAgentAnswerView(request: ProductInsightsAgentAnswerViewTrackingData)
Content copied to clipboard
Tracks Product Insights Agent answer view events.
Example:
val request = ProductInsightsAgentAnswerViewTrackingData.build("1234567-AB", "Is it waterproof?", "Yes, it is fully waterproof.") {
qnaResultId = "qna-result-123"
items = listOf(TrackingItem("rec-123", null, null, null))
followUpQuestions = listOf("Is it breathable?")
}
ConstructorIo.trackProductInsightsAgentAnswerView(request)Content copied to clipboard
Parameters
request
the Product Insights Agent answer view request object holding all the tracking parameters. Any analytics tags set on it are merged with the default analytics tags set on ConstructorIoConfig.defaultAnalyticsTags, with request-level values overriding defaults on key collision.