trackItemClicked

abstract suspend fun trackItemClicked(productId: String, url: String = "", recId: String = "", referrer: String = ""): SystemaResult<HttpResponse>

Track Item Clicked event.

Return

HTTP response from tracker for Item Clicked event.

Parameters

productId

Product ID of the Item that was clicked.

url

URL of the page/view - in Mobile, a simulated string.

recId

Recommendation ID associated with the products in displayed page/view.

referrer

The URL from where user ended up into container in scope. This is again valid in a browser based env, will be simulated string in Mobile.

abstract fun trackItemClicked(productId: String, url: String = "", recId: String = "", referrer: String = "", result: (SystemaResult<HttpResponse>) -> Unit)