track Item Acquired
abstract suspend fun trackItemAcquired(productId: String, items: List<CartItem>, url: String, referrer: String? = ""): SystemaResult<HttpResponse>
Content copied to clipboard
Track Item Acquired event. Triggered when a "tracked" item makes its way into the cart.
Return
HTTP response from tracker for Item Acquired event.
Parameters
product Id
Product ID of the item that was checked into the cart.
items
List of CartItems that made its way into the cart.
url
URL of the page/view where product resided before it was added to cart - in Mobile, a simulated string.
abstract fun trackItemAcquired(productId: String, items: List<CartItem>, url: String, referrer: String? = "", result: (SystemaResult<HttpResponse>) -> Unit)
Content copied to clipboard