trackProductInsightsAgentViews

Tracks Product Insights Agent views events.

Example:

val request = ProductInsightsAgentViewsTrackingData.build(
"1234567-AB",
listOf(ProductInsightsAgentQuestion("Is it waterproof?")),
listOf(ProductInsightsAgentViewTimespan(viewStartedAtMillis, System.currentTimeMillis()))
) {
itemName = "Waterproof Jacket"
}
ConstructorIo.trackProductInsightsAgentViews(request)

Parameters

request

the Product Insights Agent views 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.