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.
Call the processAndResolveDeeplink:completionHandler: method from your AppDelegate to resolve a short Adjust link URL that deep linked users into your app.
// resolvedLink contains either resolved URL (if it was unshortened)
9
// or just echoed URL if it was not shortened
10
}];
11
}
12
returnYES;
13
}
In case the link you sent to processDeeplink:completionHandler: method was shortened, resolvedLink returns the extended original link. In case the link you passed to the method wasn’t shortened, then resolvedLink contains the same link you have passed.
Handling Deeplinks with Referrer
An optional referrer URL used to track source of the deep link or app open for better attribution or reattribution and deep linking. For example, channels like SEO / Organic Search, Adjust links are not directly used. If the client’s root domain has Universal Links implemented and triggers an app opening, For such channels, we may have to rely on signals coming from the referrer URL to attribute or reattribute users.