Rudder-Appsflyer 2.7.0

Rudder-Appsflyer 2.7.0

RudderStack 维护。



 
依赖项
Rudder~> 1.12
AppsFlyerFramework~> 6.14.5
 

  • RudderStack

什么是 RudderStack?

RudderStack 是一个用于从您的网站、应用、云工具和数据仓库收集、路由和处理数据的 客户数据管道 工具。

有关 RudderStack 的更多信息,请参阅此处

将 AppsFlyer 集成到 RudderStack 的 iOS SDK 中

  1. 控制台 中将 Appsflyer 添加为目标并从您的 iTunes 配置文件中提供 devKeyappleAppId

  2. Rudder-Appsflyer 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中

pod 'Rudder-Appsflyer'
  1. 如以下示例所示,在初始化 Rudder SDK 之前初始化 Appsflyer SDK
#import <AppsFlyerLib/AppsFlyerLib.h>

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

初始化 RSClient

将以下代码放在您的 AppDelegate.m 文件中的 didFinishLaunchingWithOptions 方法下

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

发送事件

按照RudderStack iOS SDK的步骤执行。

联系我们

如果在配置或使用此集成时遇到任何问题,请在我们Slack频道中发起对话。我们将很高兴帮助您。