AppsFlyer Source

Ingest your event data from AppsFlyer into RudderStack.

AppsFlyer is an industry-leading mobile attribution and marketing analytics platform. It enables you to understand your customers better through intuitive dashboards, real-time data reports, and a unique deep linking technology.

You can send your AppsFlyer events by adding an endpoint that points to RudderStack and using AppsFlyer’s Push API option. This way, you can capture all relevant AppsFlyer events related to re-engagement, reattribution, in-app install events, etc., and send them to RudderStack.

This guide will help you set up AppsFlyer as a source in RudderStack.

Getting started

Follow these steps to set up your AppsFlyer source in the RudderStack dashboard:

  1. Go to your RudderStack dashboard and click Add Source. From the list of Event Streams sources, select AppsFlyer.
  2. Assign a name to your source and click Continue*.
  3. Your AppsFlyer source is now configured. Note the source Write key required to configure the endpoint URL.
AppsFlyer source write key
  1. Go to your AppsFlyer account. From the sidebar, go to Integrations > API Access > Push API:
AppsFlyer dashboard
  1. Add the Endpoint URL pointing to RudderStack in the following format:
<DATA_PLANE_URL>/v1/webhook?writeKey=<WRITE_KEY>

For more information on the data plane URL, refer to the Glossary.

warning
Make sure you add the source write key obtained in Step 3 as a query parameter to the URL. This is required to prevent the webhook from failing for the lack of a valid write key.

A sample URL is as shown:

https://hosted.rudderlabs.com/v1/webhook?writeKey=1bCenS7ynqHh8ETX8s5Crjh22J
info
It is highly recommended to validate the endpoint using the Send Test button.
Endpoint configuration
  1. Finally, save the endpoint.

Event transformation

The AppsFlyer Push events are ingested into RudderStack after converting them into the RudderStack event format. For example, RudderStack converts the customer_user_id property set by AppsFlyer into userId.

RudderStack populates the following properties from AppsFlyer event payload into the RudderStack event:

AppsFlyer PropertyRudderStack Property
customer_user_iduserId, context.traits.userId
event_nameevent
event_timetimestamp, originalTimestamp
ipcontext.ip
selected_timezonecontext.timezone
user_agentcontext.userAgent
bundle_idcontext.app.namespace
app_versioncontext.app.version
app_namecontext.app.name
device_typecontext.device.model
wificontext.network.wifi
carriercontext.network.carrier
platformplatform, context.os.name
idfacontext.device.advertisingId (for iOS)
android_idcontext.device.advertisingId (for Android)
appsflyer_idcontext.externalId[0].value
os_versioncontext.os.version
citytraits.address.city, context.traits.address.city
postal_codetraits.address.zip, context.traits.address.zip
country_codetraits.address.country, context.traits.address.country

Questions? Contact us by email or on Slack