integrationlatestIntegration / Third-party data
Third-party data
Third-party data integration is supported starting from v2.4.0. The following sample code syncs data from multiple platforms:
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.APPSFLYER | TDThirdPartyType.ADJUST | TDThirdPartyType.TRADPLUS | TDThirdPartyType.TRACKING | TDThirdPartyType.TOPON | TDThirdPartyType.BRANCH | TDThirdPartyType.IRONSOURCE);
1.Appsflyer
Call the API before the AppsFlyer SDK calls the start method.
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.APPSFLYER);
After the user registers or creates a character (optional).
TDAnalytics.Login("account_id");
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.APPSFLYER);
If you call the AE Login method (which changes account_id) or the SetDistinctId method (which changes distinct_id), call EnableThirdPartySharing again to sync the data.
2.Adjust
Call this before the Adjust SDK is initialized.
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.ADJUST);
After the user registers or creates a character (optional).
TDAnalytics.Login("account_id");
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.ADJUST);
3.Branch
Call this before Branch initializes the session.
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.BRANCH);
After the user registers or creates a character (optional).
TDAnalytics.Login("account_id");
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.BRANCH);
4.TopOn
Call this before ATSDK.init.
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.TOPON);
5.Tradplus
Call this before TradPlusSdk.initSdk.
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.TRADPLUS);
6.IronSource
Call this after IronSourceSdk is initialized.
TDAnalytics.EnableThirdPartySharing(TDThirdPartyType.IRONSOURCE);
Was this page helpful?

