trackRecommendationResultClick
fun trackRecommendationResultClick( podId: String, strategyId: String, customerId: String, variationId: String? = null, sectionName: String? = null, resultId: String? = null, numResultsPerPage: Int? = null, resultPage: Int? = null, resultCount: Int? = null, resultPositionOnPage: Int? = null, analyticsTags: Map<String, String>? = null)
Content copied to clipboard
Tracks recommendation result click events.
Example:
ConstructorIo.trackRecommendationResultClick("Best_Sellers", "User Featured", "7654321-BA", null, "Products", "179b8a0e-3799-4a31-be87-127b06871de2", 4, 1, 4, 2)
Content copied to clipboard
Parameters
podId
The pod id
strategyId
The strategy id
customerId
The item identifier of the clicked item i.e "PUMP-KAB-0002"
variationId
The variation item identifier of the clicked item
sectionName
The section that the results came from, i.e. "Products"
resultId
The result ID of the recommendation response that the selection came from
numResultsPerPage
The count of recommendation results on each page
resultPage
The current page that recommendation result is on
resultCount
The total number of recommendation results
resultPositionOnPage
The position of the recommendation result that was clicked on
analyticsTags
Additional analytics tags to pass