adjust-icon

Resolve short branded links

Adjust’s link shortener solution converts your complex and long links into cleaner and shorter links. The shortened links retain deep link and campaign information, and route users to the app store, if they don’t have your app installed.

Use the method described in this section to resolve your short links.

Set up deep linking in the Adjust SDK

In the Adjust SDK, add support for the following:

Method signature
public static void ProcessAndResolveDeeplink(AdjustDeeplink deeplink, Action<string> callback);

To resolve a shortened deep link, instantiate an AdjustDeeplink object with your shortened deep link and pass it to the Adjust.ProcessAndResolveDeeplink method with a callback function. The callback function receives the resolved deep link as a string.

AdjustDeeplink adjustDeeplink = new AdjustDeeplink("url");
Adjust.ProcessAndResolveDeeplink(adjustDeeplink, (resolvedLink) =>
{
Debug.Log("Resolved link = " + resolvedLink);
});

If the link passed to the Adjust.ProcessAndResolveDeeplink method was shortened, the callback function receives the extended original link. Otherwise, the callback function receives the link you passed.