Rich In-App Events - Android and iOS

Introduction Event Types Important Examples

travel.png

Introduction

AppsFlyer’s rich in-app events provide advertisers with the ability to track any post-install event and attribute it to the originating media sources.

If your users perform registrations, complete tutorials, add items to the shopping cart or make purchases, the in-app events data can show it, with details.

Rich in-app events are essential in determining the value of your users, and the quality of the traffic you get from different media sources. Therefore, although they are optional to implement, AppsFlyer HIGHLY recommends doing so.

Another important aspect of using in-app events, is the ability to map AppsFlyer's in-app events with advanced ad networks. This enables the networks to efficiently optimize on their traffic and sometimes also build highly targeted audiences.

The TrackEvent API

An in-app event is comprised of an event name and event parameters (see the Event Types tab for the list of recommended events and parameter names). 

Syntax:

Android iOS
public static void trackEvent(Context context, String eventName, Map eventValues)

Context
Use getApplicationContext()
eventName
Any string to define the event name. 
eventValues
A map of event parameters that comprise a rich event.

 Warning

Different networks have their own limitations on the allowed characters in the events names. To avoid any possible problems AppsFlyer recommends using only lower cased alpha-numerical characters (a-z and 0-9) for your in-app events names.

Was this article helpful?
0 out of 2 found this helpful