In-App Events provide insight on what is happening in your app. It is recommended to take the time and define the events you want to measure to allow you to measure ROI (Return on Investment) and LTV (Lifetime Value).
Find more info about recording events here.
Adobe Launch AppsFlyer Extension is mapping and sending events reported using MobileCore
to AppsFlyer in-app events.
In the Adobe Launch AppsFlyer Extension you can choose the in-app event setting for your app:
Setting | Description |
---|---|
Action Events | Only MobileCore.trackAction() will be sent to AppsFlyer |
State Events | Only MobileCore.trackState() will be sent to AppsFlyer |
All Events | Both MobileCore.trackAction() and MobileCore.trackState() will be sent to AppsFlyer |
None | No events will be sent |
For example, If you have All Events
selected , then calling this API:
import com.adobe.marketing.mobile.MobileCore
...
val eventMap: MutableMap<String, String> = HashMap()
eventMap["currency"] = "ILS"
eventMap["revenue"] = "200"
eventMap["freehand"] = "param"
MobileCore.trackAction("testTrackAction", eventMap)
will result in a testTrackAction event tracked on the AppsFlyer Dashboard with a revenue of 200USD.
revenue and currency parameters are mapped to
af_revenue
andaf_currency
.
If you wish to send in-app events to AppsFlyer directly, please use our native SDK. Check out the documentation here
Note: An In-App Event name must be no longer than 45 characters. Events names with more than 45 characters do not appear in the dashboard, but only in the raw Data, Pull and Push APIs. Find more info about recording events here.