Tracker
Functions
Link copied to clipboard
abstract suspend fun trackAcquisitionComplete( order: PurchaseOrder, url: String, referrer: String? = ""): SystemaResult<<ERROR CLASS>>
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: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard
Link copied to clipboard
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
abstract fun trackContainerShown( productId: String? = null, containers: List<ItemContainer>, url: String? = "", referrer: String? = "", result: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard
Link copied to clipboard
abstract suspend fun trackItemAcquired( productId: String, items: List<CartItem>, url: String, referrer: String? = ""): SystemaResult<<ERROR CLASS>>
Content copied to clipboard
Track Item Acquired event. Triggered when a "tracked" item makes its way into the cart.
abstract fun trackItemAcquired( productId: String, items: List<CartItem>, url: String, referrer: String? = "", result: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard
Link copied to clipboard
abstract suspend fun trackItemClicked( productId: String, url: String = "", recId: String = "", referrer: String = ""): SystemaResult<<ERROR CLASS>>
Content copied to clipboard
Track Item Clicked event.
abstract fun trackItemClicked( productId: String, url: String = "", recId: String = "", referrer: String = "", result: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard
Link copied to clipboard
abstract suspend fun trackItemRelinquished( productId: String, item: CartItem, url: String, referrer: String? = ""): SystemaResult<<ERROR CLASS>>
Content copied to clipboard
Track Item Relinquished event. Triggered when a "tracked" item is removed from the cart.
abstract fun trackItemRelinquished( productId: String, item: CartItem, url: String, referrer: String? = "", result: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard
Link copied to clipboard
abstract suspend fun trackPageViewed( url: String = "", recId: String = "", referrer: String = ""): SystemaResult<<ERROR CLASS>>
Content copied to clipboard
Page View for NON-PDP pages.
abstract fun trackPageViewed( url: String = "", recId: String = "", referrer: String = "", result: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard
abstract fun trackPageViewed( productId: String, url: String = "", recId: String = "", referrer: String = "", result: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard
abstract suspend fun trackPageViewed( productId: String, url: String = "", recId: String = "", referrer: String = ""): SystemaResult<<ERROR CLASS>>
Content copied to clipboard
Track page view event
Link copied to clipboard
abstract suspend fun trackWishlistAcquired( productId: String, items: List<WishlistItem>, url: String, referrer: String? = ""): SystemaResult<<ERROR CLASS>>
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: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard
Link copied to clipboard
abstract suspend fun trackWishlistRelinquished( productId: String, item: WishlistItem, url: String, referrer: String? = ""): SystemaResult<<ERROR CLASS>>
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: (SystemaResult<<ERROR CLASS>>) -> Unit)
Content copied to clipboard