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? = ""): SystemaResult<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: (SystemaResult<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? = ""): SystemaResult<HttpResponse>
Content copied to clipboard
Track container shown event
abstract fun trackContainerShown(productId: String? = null, containers: List<ItemContainer>, url: String? = "", referrer: String? = "", result: (SystemaResult<HttpResponse>) -> Unit)
Content copied to clipboard
track Item Acquired
Link copied to clipboard
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.
abstract fun trackItemAcquired(productId: String, items: List<CartItem>, url: String, referrer: String? = "", result: (SystemaResult<HttpResponse>) -> Unit)
Content copied to clipboard
track Item Clicked
Link copied to clipboard
abstract suspend fun trackItemClicked(productId: String, url: String = "", recId: String = "", referrer: String = ""): SystemaResult<HttpResponse>
Content copied to clipboard
Track Item Clicked event.
abstract fun trackItemClicked(productId: String, url: String = "", recId: String = "", referrer: String = "", result: (SystemaResult<HttpResponse>) -> Unit)
Content copied to clipboard
track Item Relinquished
Link copied to clipboard
abstract suspend fun trackItemRelinquished(productId: String, item: CartItem, url: String, referrer: String? = ""): SystemaResult<HttpResponse>
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<HttpResponse>) -> Unit)
Content copied to clipboard
track Page Viewed
Link copied to clipboard
abstract suspend fun trackPageViewed(url: String = "", recId: String = "", referrer: String = ""): SystemaResult<HttpResponse>
Content copied to clipboard
Page View for NON-PDP pages.
abstract fun trackPageViewed(url: String = "", recId: String = "", referrer: String = "", result: (SystemaResult<HttpResponse>) -> Unit)
Content copied to clipboard
abstract fun trackPageViewed(productId: String, url: String = "", recId: String = "", referrer: String = "", result: (SystemaResult<HttpResponse>) -> Unit)
Content copied to clipboard
abstract suspend fun trackPageViewed(productId: String, url: String = "", recId: String = "", referrer: String = ""): SystemaResult<HttpResponse>
Content copied to clipboard
Track page view event
track Wishlist Acquired
Link copied to clipboard
abstract suspend fun trackWishlistAcquired(productId: String, items: List<WishlistItem>, url: String, referrer: String? = ""): SystemaResult<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: (SystemaResult<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? = ""): SystemaResult<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: (SystemaResult<HttpResponse>) -> Unit)
Content copied to clipboard
Inheritors
SystemaAI
Link copied to clipboard