| com.applovin.sdk.AppLovinEventService |
Service used for tracking various analytical events.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Map<String, Object> |
getSuperProperties()
Returns a map representing the currently set super properties that are passed up on events.
| ||||||||||
| abstract void |
setSuperProperty(Object superProperty, String key)
Set a super property to be recorded with all future events.
| ||||||||||
| abstract void |
trackCheckout(String transactionId, Map<String, String> parameters)
Track a checkout / standard purchase.
| ||||||||||
| abstract void |
trackEvent(String eventName)
Track an event without additional data.
| ||||||||||
| abstract void |
trackEvent(String eventName, Map<String, String> parameters)
Track an event with additional data.
| ||||||||||
| abstract void |
trackInAppPurchase(Intent purchaseIntent, Map<String, String> parameters)
Track an in app purchase.
| ||||||||||
Returns a map representing the currently set super properties that are passed up on events.
Set a super property to be recorded with all future events.
If the super property is set to null, will remove the super property from being recorded with all future events.
| superProperty | The super property value for the given super property key.
Valid types include String, Integer, Long, Double, Float, java.util.Date, android.net.Uri, java.util.List, Map.
Setting it to null will remove that super property from being recorded with all future events. |
|---|---|
| key | The super property key for the given super property. |
Track a checkout / standard purchase.
| transactionId | 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, PRODUCT_IDENTIFIER, REVENUE_AMOUNT and REVENUE_CURRENCY.
|
Track an event without additional data.
Where applicable, it is suggested to use one of the predefined strings provided in AppLovinEventTypes for the event and parameter key.
| eventName | A string representing the event to track. |
|---|
Track an event with additional data.
Where applicable, it is suggested to use one of the predefined strings provided in AppLovinEventTypes for the event and parameter key.
| eventName | A string representing the event to track. |
|---|---|
| parameters | A map containing key-value pairs further describing this event. |
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, PRODUCT_IDENTIFIER, REVENUE_AMOUNT and REVENUE_CURRENCY.
|