track Container Shown
abstract suspend fun trackContainerShown( productId: String? = null, containers: List<ItemContainer>, url: String? = "", referrer: String? = ""): SystemaResult<<ERROR CLASS>>
Content copied to clipboard
Track container shown event
Return
HTTP response from ContainerShown tracker event.
Parameters
product Id
Optional as container shown event can also be necessary in NON-PDP pages/views. In PDP, this is the product ID.
containers
List of ItemContainer where each container includes Products & ResultId.
url
The URL associated with the container. This makes sense in browser based env, in mobiles, this will be a made up string that validates OK for a URL.
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 trackContainerShown( productId: String? = null, containers: List<ItemContainer>, url: String? = "", referrer: String? = "", result: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard