trackRecommendationResultsView

fun trackRecommendationResultsView(    podId: String,     itemIds: Array<String>,     numResultsViewed: Int,     resultPage: Int? = null,     resultCount: Int? = null,     resultId: String? = null,     sectionName: String? = null,     url: String = "Not Available",     analyticsTags: Map<String, String>? = null)

Tracks recommendation result view events.

Example:

ConstructorIo.trackRecommendationResultsView("Best_Sellers", arrayOf("123", "234"), 4, 1, 4, "179b8a0e-3799-4a31-be87-127b06871de2", "Products")

Parameters

podId

The pod id

itemIds

the item ids of the dislayed items

numResultsViewed

The count of recommendation results being viewed

resultPage

The current page that recommendation result is on

resultCount

The total number of recommendation results

resultId

The result ID of the recommendation response that the selection came from

sectionName

The section that the results came from, i.e. "Products"

analyticsTags

Additional analytics tags to pass


fun trackRecommendationResultsView(    podId: String,     numResultsViewed: Int,     resultPage: Int? = null,     resultCount: Int? = null,     resultId: String? = null,     sectionName: String? = null,     url: String = "Not Available",     analyticsTags: Map<String, String>? = null)

Tracks recommendation result view events.

Example:

ConstructorIo.trackRecommendationResultsView("Best_Sellers", 4, 1, 4, "179b8a0e-3799-4a31-be87-127b06871de2", "Products")

Parameters

podId

The pod id

numResultsViewed

The count of recommendation results being viewed

resultPage

The current page that recommendation result is on

resultCount

The total number of recommendation results

resultId

The result ID of the recommendation response that the selection came from

sectionName

The section that the results came from, i.e. "Products"

analyticsTags

Additional analytics tags to pass