Adjust
Integration
- Go to the official page and integrate it into your project;
- Initialize Magify SDK;
- Then you can provide Magify ClientId to Adjust. It is possible to do during Adjust initialization:
var clientId = MagifyService.Instance.ClientId;
var adjustConfig = new AdjustConfig("{YourAppToken}", yourEnvironment)
{
ExternalDeviceId = clientId,
};
// Magify doesn't yet have an Adjust-related API at the Service level, so you will have to use MagifyManager.
adjustConfig.SessionSuccessDelegate += success => MagifyManager.AdjustId = success.Adid;
adjustConfig.SessionFailureDelegate += failure => MagifyManager.AdjustId = failure.Adid;
Adjust.AddGlobalCallbackParameter("client_id", clientId);
Adjust.AddGlobalPartnerParameter("client_id", clientId);
Adjust.InitSdk(adjustConfig);
var adjustConfig = new AdjustConfig(appToken, env);
adjustConfig.setExternalDeviceId(MagifyService.Instance.ClientId);
adjustConfig.setSessionSuccessDelegate(success => MagifyManager.AdjustId = success.Adid);
adjustConfig.setSessionFailureDelegate(failure => MagifyManager.AdjustId = failure.Adid);
Adjust.addSessionCallbackParameter("client_id", MagifyService.Instance.ClientId);
Adjust.addSessionPartnerParameter("client_id", MagifyService.Instance.ClientId);
Adjust.start(adjustConfig);