目录
此内容是否有帮助?

# Third-party Integration

The sample codes for the synchronization of multiple platform data are as follows:

ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.APPSFLYER | TAThirdPartyShareType.ADJUST | TAThirdPartyShareType.TRADPLUS | TAThirdPartyShareType.TRACKING | TAThirdPartyShareType.TOPON | TAThirdPartyShareType.BRANCH | TAThirdPartyShareType.IRONSOURCE);

# 1. Appsflyer

Call this API before AppsFlyer SDK calls the Start API:

ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.APPSFLYER);

After the created role is registered (optional):

ThinkingAnalyticsAPI.Login("account_id");
ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.APPSFLYER);

Note: Every time you call the Login or Identify , you need to call EnableThirdPartySharing synchronously to update the user ID.

# 2. Adjust

To be called before Adjust SDK initialization:

ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.ADJUST);

After the created role is registered (optional):

ThinkingAnalyticsAPI.Login("account_id");
ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.ADJUST);

# 3. Branch

To be called before the Branch initialize the session:

ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.BRANCH);

After the created role is registered (optional):

ThinkingAnalyticsAPI.Login("account_id");
ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.BRANCH);

# 4. TopOn

To be called before ATSDK.init:

ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.TOPON);

# 5. ReYun

To be called after the account is registered:

ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.TRACKING);

# 6. TradPlus

To be called before TradPlus SDK initialization:

ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.TRADPLUS);

# 7. IronSource

To be called after IronSource SDK initialization:

ThinkingAnalyticsAPI.EnableThirdPartySharing(TAThirdPartyShareType.IRONSOURCE);