Tracker
interface Tracker
Content copied to clipboard
Functions
track Acquisition Complete
Link copied to clipboard
abstract suspend fun trackAcquisitionComplete(order: PurchaseOrder, url: String, referrer: String? = ""): Result<HttpResponse>
Content copied to clipboard
Track Item Acquisition Complete event. Triggered when a "tracked" item from cart was purchased.
abstract suspend fun trackAcquisitionComplete(order: PurchaseOrder, url: String, referrer: String? = "", result: (Result<HttpResponse>) -> Unit)
Content copied to clipboard
track Container Shown
Link copied to clipboard
abstract suspend fun trackContainerShown(productId: String? = null, containers: List<ItemContainer>, url: String? = "", referrer: String? = ""): Result<HttpResponse>
Content copied to clipboard
Track container shown event
abstract fun trackContainerShown(productId: String? = null, containers: List<ItemContainer>, url: String? = "", referrer: String? = "", result: (Result<HttpResponse>) -> Unit)
Content copied to clipboard
track Item Acquired
Link copied to clipboard
Track Item Acquired event. Triggered when a "tracked" item makes its way into the cart.
track Item Clicked
Link copied to clipboard
Track Item Clicked event.
track Item Relinquished
Link copied to clipboard
Track Item Relinquished event. Triggered when a "tracked" item is removed from the cart.
track Page Viewed
Link copied to clipboard
abstract suspend fun trackPageViewed(url: String = "", recId: String = "", referrer: String = ""): Result<HttpResponse>
Content copied to clipboard
Page View for NON-PDP pages.
track Wishlist Acquired
Link copied to clipboard
abstract suspend fun trackWishlistAcquired(productId: String, items: List<WishlistItem>, url: String, referrer: String? = ""): Result<HttpResponse>
Content copied to clipboard
Track Wishlist Acquired event. Triggered when a an item makes its way into the wishlist.
abstract fun trackWishlistAcquired(productId: String, items: List<WishlistItem>, url: String, referrer: String? = "", result: (Result<HttpResponse>) -> Unit)
Content copied to clipboard
track Wishlist Relinquished
Link copied to clipboard
abstract suspend fun trackWishlistRelinquished(productId: String, item: WishlistItem, url: String, referrer: String? = ""): Result<HttpResponse>
Content copied to clipboard
Track Wishlist Relinquished event. Triggered when a an item makes its way out of the wishlist.
abstract fun trackWishlistRelinquished(productId: String, item: WishlistItem, url: String, referrer: String? = "", result: (Result<HttpResponse>) -> Unit)
Content copied to clipboard
Inheritors
SystemaAI
Link copied to clipboard