Rudder-Appsflyer 2.5.0

Rudder-Appsflyer 2.5.0

Maintained by RudderStack.



 
Depends on:
Rudder~> 1.12
AppsFlyerFramework~> 6.12
 

  • By
  • RudderStack

What is RudderStack?

RudderStack is a customer data pipeline tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.

More information on RudderStack can be found here.

Integrating AppsFlyer with RudderStack's iOS SDK

  1. Add Appsflyer as a destination in the Dashboard and provide devKey and appleAppId from your iTunes profile.

  2. Rudder-Appsflyer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Rudder-Appsflyer'
  1. Initialize the Appsflyer SDK before initializing the Rudder SDK as shown below:
#import <AppsFlyerLib/AppsFlyerLib.h>

[[AppsFlyerLib shared] setAppsFlyerDevKey:<devKey>];
[[AppsFlyerLib shared] setAppleAppID:<appleAppId>];
[AppsFlyerLib shared].isDebug = YES;
[[AppsFlyerLib shared] start];

Initialize RSClient

Put this code in your AppDelegate.m file under the method didFinishLaunchingWithOptions

RSConfigBuilder *builder = [[RSConfigBuilder alloc] init];
[builder withDataPlaneUrl:DATA_PLANE_URL];
[builder withFactory:[RudderAppsflyerFactory instance]];
[RSClient getInstance:WRITE_KEY config:[builder build]];

Send Events

Follow the steps from the RudderStack iOS SDK.

Contact Us

If you come across any issues while configuring or using this integration, please feel free to start a conversation on our Slack channel. We will be happy to help you.