menu
Is this helpful?

# Third-party Integration

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

TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.APPSFLYER | TDThirdPartyType.ADJUST | TDThirdPartyType.TRADPLUS | TDThirdPartyType.TRACKING | TDThirdPartyType.TOPON | TDThirdPartyType.BRANCH | TDThirdPartyType.IRONSOURCE);

# 1. Appsflyer

Call this API before AppsFlyer SDK calls the Start API:

TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.APPSFLYER);

After the created role is registered (optional):

TDAnalytics.Login("account_id");
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.APPSFLYER);

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

# 2. Adjust

To be called before Adjust SDK initialization:

TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.ADJUST);

After the created role is registered (optional):

TDAnalytics.Login("account_id");
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.ADJUST);

# 3. Branch

To be called before the Branch initialize the session:

TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.BRANCH);

After the created role is registered (optional):

TDAnalytics.Login("account_id");
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.BRANCH);

# 4. TopOn

To be called before ATSDK.init:

TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.TOPON);

# 5. ReYun

To be called after the account is registered:

TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.TRACKING);

# 6. TradPlus

To be called before TradPlus SDK initialization:

TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.TRADPLUS);

# 7. IronSource

To be called after IronSource SDK initialization:

TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.IRONSOURCE);