Segment integration

  • Advertisers
  • Developers


Segment makes it easy to send your data to AppsFlyer. Once you have recorded your data through Segment's open source libraries, the data is translated and routed to AppsFlyer in the appropriate format. AppsFlyer helps marketers to pinpoint targeting, optimize ad spend and boost ROI.

Integrating Segment with AppsFlyer

Follow this guide from Segment to learn how to integrate Segment with AppsFlyer.


How can I integrate Segment with AppsFlyer?

To integrate Segment with AppsFlyer, follow these steps:

What SDKs do I need to add to my app?

You only need to add the Segment SDK wrapper. When you add the Segment SDK wrapper dependency, the app build process automatically adds Segment SDK and the AppsFlyer SDK to your app.

How does the SDK wrapper work?

The Segment SDK wrapper connects Segment SDK and the AppsFlyer SDK.

When you use the Segment SDK wrapper to call Segment's methods for recording installs and in-app events, the SDK wrapper calls both Segment's and AppsFlyer's methods.

This saves you time and effort and requires less coding.


Warning - DO NOT USE methods from both the Segment SDK wrapper and the AppsFlyer SDK. Doing so could lead to errors and data discrepancies.

Use only methods from the Segment SDK wrapper.

is there any difference in functionality between the Segment SDK wrapper and the AppsFlyer SDK?

No, there is no change in functionality. All functions in the AppsFlyer SDK are available in the Segment SDK wrapper.

I don't see in-app event data in AppsFlyer's dashboard

  • Make sure to follow the instructions for implementing the track method in Segment SDK wrapper:
  • Make sure to specify your dev key when integrating AppsFlyer in Segment's dashboard.

Install and in-app events data in Segment and AppsFlyer doesn't match

Make sure that to only use the Segment SDK Wrapper Do not combine the Segment SDK Wrapper with AppsFlyer SDK. See here for more info.

The FAQ above also specifies reasons why data might not align between Segment and AppsFlyer.

I Am Using a 3rd Party Analytics Tool, Should I Integrate it with Both Appsflyer and Segment?

No, you should only use the Segment dashboard to enable the 3rd party analytics tools.

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