track Recommendation Result Click
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
pod Id
The pod id
strategy Id
The strategy id
customer Id
The item identifier of the clicked item i.e "PUMP-KAB-0002"
variation Id
The variation item identifier of the clicked item
section Name
The section that the results came from, i.e. "Products"
result Id
The result ID of the recommendation response that the selection came from
num Results Per Page
The count of recommendation results on each page
result Page
The current page that recommendation result is on
result Count
The total number of recommendation results
result Position On Page
The position of the recommendation result that was clicked on
analytics Tags
Additional analytics tags to pass