Analytics
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open override fun reportClickPromoted(resolvedBidId: String, placement: Placement, opaqueUserId: String? = null, id: String? = null, occurredAt: String? = null, deviceType: Device? = null, channel: Channel? = null, page: Page? = null, clickType: ClickType? = null)
Reports a single promoted click (with a resolvedBidId)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun reportPurchase(items: List<PurchasedItem>, id: String, opaqueUserId: String? = null, occurredAt: String? = null, deviceType: Device? = null, channel: Channel? = null, page: Page? = null)
Reports a purchase event.
Link copied to clipboard
fun setup(@NonNull application: Application, @NonNull identity: UserIdentity, @NonNull token: String)
Setup initial properties required for the analytics library.
Setup initial properties required for the analytics library, Call this from the Application class, before submitting any event, Or when a new opaqueUserId or bearer token has to be used.