com.applovin.sdk.AppLovinEventService |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
trackCheckout(String transactionIdentifier, Map<String, String> parameters)
Track a checkout / standard purchase.
| ||||||||||
abstract void |
trackEvent(String eventType)
Track an event of a given type.
| ||||||||||
abstract void |
trackEvent(String eventType, Map<String, String> parameters)
Track an event of a given type.
| ||||||||||
abstract void |
trackInAppPurchase(Intent purchaseIntent, Map<String, String> parameters)
Track an in app purchase.
|
Track a checkout / standard purchase.
transactionIdentifier | An optional unique identifier for this transaction, as generated by you. |
---|---|
parameters | A map containing key-value pairs further describing this event. You should provide, at a minimum, REVENUE_AMOUNT and REVENUE_CURRENCY . We also recommend passing PRODUCT_IDENTIFIER .
|
Track an event of a given type.
For many event types, it is preferable to provide additional data by using trackEvent(String, Map)
instead.
eventType | A string describing this event; can one of the predefined constants defined in AppLovinEventTypes , or a custom string.
|
---|
Track an event of a given type.
eventType | A string describing this event; can one of the predefined constants defined in AppLovinEventTypes , or a custom string. |
---|---|
parameters | A dictionary containing key-value pairs further describing this event. Particular data points of interest are provided as "suggested keys" in the doc comment for each event type constant in AppLovinEventTypes .
|
Track an in app purchase.
purchaseIntent | Intent returned to you by Google Play. |
---|---|
parameters | A map containing key-value pairs further describing this event. You should provide, at a minimum, REVENUE_AMOUNT and REVENUE_CURRENCY . We also recommend passing PRODUCT_IDENTIFIER .
|