CleverTap
Connect Branch and CleverTap to unlock a more holistic picture of the customer journey for your app.

概述
准确地将展示、广告点击、应用安装和应用内事件归因,以评估每个合作伙伴的广告活动效果。
它是如何工作的?
Once the Branch SDK is integrated into an app, Branch can detect which Branch Links are leading to installs, re-opens, and users' actions. Enabling this integration and providing your relevant IDs will result in Branch automatically forwarding events to CleverTap, in the exact format Clevertap expects.
Branch Events Sent to CleverTap
Branch 发送给第三方数据工具的事件会根据合作伙伴支持的事件以及您是否已实施 Branch SDK 来衡量所述事件而有所不同。
CleverTap supports the following events:
- Installs
- Lifecycle Event
- 商业活动
- Content Event
- 自订活动
未提及的事件,点击,网络会话开始以及浏览量将被排除。Branch 还会发送附加到驱动推荐事件的链接的所有数据。这将使您分析哪些 Campaign 和渠道正在帮助您获客并与用户互动。
Viewing Branch Data in CleverTap
In order to view Branch data in CleverTap, you can find people by Behavior or view events where your provider contains "Branch". For more information on Clevertap's reporting, please refer to their Behavioral Analytics documentation.


先决条件
In order to enable CleverTap, you need to have completed the following:
- Admin access to your Branch Dashboard.
- Enabled Data Feeds for your Branch account.
- Contact your Branch account manager or visit https://branch.io/pricing
- Implemented the Branch SDK into your mobile app (iOS | Android)
- 实施 Clevertap SDK
- Admin access to your CleverTap account.
Enable CleverTap
1. Retrieve your CleverTap Information
Before you can enable the integration in your Branch dashboard, you need to retrieve your credentials from your CleverTap account.
Branch 要求这些凭据不仅可以进行身份验证,还可以确保将 Branch 数据发送到正确的帐户。
Branch 要求以下凭据:
- 帐户 ID
- 帐户令牌
- 帐户密码
查找您的 CleverTap 帐户凭证:
- Log in to your CleverTap account and navigate to Settings by clicking the cog at the top of the screen, then
Settings Dashboard
。

- 确保您正在查看用于集成的正确应用,然后点击眼睛图标以显示您的帐户凭据。

- 按照以下说明将这些帐户凭据复制到 Branch 操作后台 (Dashboard)。
2. Connect CleverTap in Branch
In the Branch Dashboard in Data Feeds → Data Integrations tab, find and search for CleverTap. Then enter your CleverTap information

3. Pass CleverTap IDs to Branch
Clevertap 要求您将正确的标识符传递给 Branch SDK。为此,请从 Clevertap SDK 中检索 ID,然后使用以下方法将此值传递给 Branch:
setRequestMetadataKey()
Branch SDK 方法:
///Inside `didFinishLaunchingWithOptions`
Branch *branch = [Branch getInstance];
[CleverTap autoIntegrate];
[[Branch getInstance] setRequestMetadataKey:@"$clevertap_attribution_id"
value:[[CleverTap sharedInstance] profileGetCleverTapAttributionIdentifier]];
///Before you initialize in your Application `#onCreate` or Deep Link Activity’s `#onCreate`
Branch branch = Branch.getInstance();
branch.setRequestMetadata("$clevertap_attribution_id",
cleverTapInstance.getCleverTapAttributionIdentifier());
//Before you initialize the session.
if (experienceCloudId == null) {
Identity.getExperienceCloudId(new AdobeCallback<String>() {
@Override
public void call(String id) {
Branch branch = Branch.getInstance();
branch.setRequestMetadata("$marketing_cloud_visitor_id", id);
...
branch.sessionBuilder(this)…init();
}
});
} else {
Branch branch = Branch.getInstance();
branch.setRequestMetadata("$marketing_cloud_visitor_id", experienceCloudId);
...
branch.sessionBuilder(this)…init();
}
5. Verify Data Sent
Once the above steps are complete, you are now ready to start launching campaigns. Branch-attributed conversions will be sent to CleverTap. To verify data is being sent from Branch to CleverTap, you can look at the Branch Dashboard's Liveview Webhook Records and apply the following filter:
Filter | Operator | 值 |
---|---|---|
webhook partner key | equals | di_clevertap |
问题排查
测试您的 CleverTap 集成
端到端测试集成的最简单方法是从 Branch Link 打开应用 ,然后验证数据是否出现在 CleverTap 中。完成此操作后,您将知道如何测试更高级的方案。
- Create a Branch Quick Link at https://dashboard.branch.io/quick-links.
- 点击该 Branch Link 以打开您的应用。
- 在您的 Branch 操作后台 (Dashboard)中,验证您看到打开事件在 Branch 操作后台 (Dashboard)下的 "Liveview > Events" 下显示为 "referred session" 并显示为 "session referring link URL"
Updated 7 days ago