interface AnalyticsInterface
AnalyticsInterface VenueNext
Created on 5/5/19. Copyright © 2019 VenueNext Inc. All rights reserved.
className |
Get class name. abstract fun className(): String? |
handlePushNotificationIntent |
Handle intent routing for analytic push notifications (inbox, messaging, etc.) abstract fun handlePushNotificationIntent(activity: Activity, intent: Intent): Unit |
initialize |
Initialize analytics framework. abstract fun initialize(context: Context): Unit abstract fun initialize(context: Context, application: Application): Unit |
onHandleIntent |
Handle push notification display (inbox, messaging, etc.) abstract fun onHandleIntent(context: Context, intent: Intent?, bundle: Bundle?): Boolean |
registerPush |
Register push notifications (inbox, messaging, etc.) abstract fun registerPush(token: String): Unit |
track |
Tracks SDK analytics via analytics framework. abstract fun track(eventType: Event, metadata: Bundle): Unit |
trackAddsPaymentType |
Track adds payment type via analytics framework. abstract fun trackAddsPaymentType(paymentType: String, cardType: String): Unit |
trackAddToCart |
Track add to cart via analytics framework. abstract fun trackAddToCart(itemId: String, itemName: String, itemCategory: String, variant: String, price: Double, quantity: Long): Unit |
trackBeginCheckout |
Track begin checkout via analytics framework. abstract fun trackBeginCheckout(items: ArrayList<Bundle>): Unit |
trackCheckoutProgress |
Track checkout progress via analytics framework. abstract fun trackCheckoutProgress(items: ArrayList<Bundle>, orderState: String): Unit |
trackEvent |
Tracks event via analytics framework. abstract fun trackEvent(eventName: String, attributes: Bundle): Unit abstract fun trackEvent(eventType: Event, attributes: Bundle): Unit |
trackMenuItemSelection |
Track menu item selection via analytics framework. abstract fun trackMenuItemSelection(itemId: String, itemName: String, itemCategory: String, variant: String, price: Double): Unit |
trackPurchase |
Track purchase via analytics framework. abstract fun |
trackRemoveFromCart |
Track remove from cart via analytics framework. abstract fun trackRemoveFromCart(itemId: String, itemName: String, itemCategory: String, variant: String, price: Double, quantity: Long): Unit |
trackScreenView |
Tracks screen view event via analytics framework. abstract fun trackScreenView(activity: Activity, screenName: String): Unit |
trackUserId |
Track userId via analytics framework. abstract fun trackUserId(userId: String?): Unit |
trackUserProperty |
Track user property via analytics framework. abstract fun trackUserProperty(name: String, value: String?): Unit |