AppsFlyer allows you to track any post-install event that you are interested in attributing to a media source and campaign.
You can track in-app events, such as:
- Add to cart
- In-app purchases
- Any other logical event you find relevant for your business.
You can also add a revenue value to each event and this is available to you on your AppsFlyer dashboard. You can map these in-app events to your media source's defined events and send this data back to them.
In general, there are a number of ways to track In-App Events:
Option 1: In-App Events Within the SDK
You can add purchase events or custom in-app events at SDK level.
Option 2: Server-to-Server In-App Events
The purpose of this API is to allow you to send events which occur outside of the mobile app, directly to the AppsFlyer server. For example, if you have a user who is active on both web and mobile interfaces, you can record all events from both mediums and attach them to the same user in AppsFlyer. It can be either in-app events or other events, such as website events, call-center events or purchases in your brick and mortar store.
See details and instructions in the following link: http://support.appsflyer.com/entries/66723246-Server-to-Server-in-app-events-API-HTTP-API-.
Option 3: Track In-App Events from a Native Web View
For more details, see: https://support.appsflyer.com/entries/45039385-In-App-Events-from-a-native-web-view.
In addition, for iOS SDK events, you can use AppsFlyer's Receipt Validation feature (available from iOS SDK version 126.96.36.199, currently in Beta). This feature allows you to validate each and every in-app-purchase with the App Store.
For more information, see: https://support.appsflyer.com/entries/79172579-Receipt-Validation-for-iOS.