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.

Get started

  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 keyThe write key (or source write key) is a unique identifier for your source. RudderStack uses this key to send events from a source to the specified destination. required to configure the endpoint URL.
  4. 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>

A sample URL is as shown:

https://hosted.rudderlabs.com/v1/webhook?writeKey=1bCenS7ynqHh8ETCrjh22J
warning

Make sure to:

  • Replace <DATA_PLANE_URL> with the data plane URL associated with your RudderStack workspace.
  • 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.
  • Validate the endpoint before proceeding.
  1. 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