특정 사용 사례를 위한 추가적인 딥링크 기능은 다음과 같습니다.
다이렉트 딥링크
마지막 딥링크 가져오기
+ ( void )lastDeeplinkWithCompletionHandler:(nonnull ADJLastDeeplinkGetterBlock)completion;
Adjust.lastDeeplinkWithCompletionHandler:
메서드를 호출하여 Adjust.processAndResolveDeeplink
또는 Adjust.processDeeplink
메서드로 전달된 마지막 딥링크 URL을 반환할 수 있습니다. 마지막 딥링크는 NSURL로 반환됩니다.
Adjust. lastDeeplink { lastDeeplink in
if let deeplink = lastDeeplink {
// Handle the deeplink here
print ( "Last deep link: \(deeplink. absoluteString ) " )
[Adjust lastDeeplinkWithCompletionHandler: ^ ( NSURL * _Nullable lastDeeplink) {
if (lastDeeplink != nil ) {
// Handle the deeplink here
NSLog ( @"Last deep link: %@ " , [lastDeeplink absoluteString ]);
리퍼러를 사용하여 딥링크 처리
더 나은 어트리뷰션 또는 리어트리뷰션 및 딥링킹을 위해 열린 딥링크 또는 앱의 소스 추적에 사용되는 선택적 리퍼러 URL입니다. 예를 들어 SEO 또는 오가닉 검색과 같은 채널에서는 Adjust 링크가 직접 사용되지 않습니다. 클라이언트의 루트 도메인에 유니버설 링크가 구현되고 앱 실행을 트리거하는 경우, 이러한 채널에서 Adjust는 리퍼러 URL에서 전송되는 시그널에 의존하여 사용자를 어트리뷰션 또는 리어트리뷰션해야 할 수 있습니다.
리퍼러 URL 설정
func application ( _ application: UIApplication,
continue userActivity: NSUserActivity,
restorationHandler : @escaping ([UIUserActivityRestoring] ? ) -> Void ) -> Bool {
if userActivity.activityType. isEqual (NSUserActivityTypeBrowsingWeb) {
// Pass deep link URL to Adjust in order to potentially reattribute the user
// and to get the URL resolved if it’s a shortened one.
if let incomingURL = userActivity.webpageURL {
if let deeplink = ADJDeeplink ( deeplink : incomingURL) {
// If referrer URL is available, add it to the deeplink object
if let referrer = URL ( string : "https://example.com" ) {
deeplink. setReferrer (referrer)
Adjust. processAndResolve (deeplink) { resolveDeeplink in
// resolvedLink contains either resolved URL (if it was unshortened)
// or just echoed URL if it was not shortened
- ( BOOL )application:(UIApplication * )application continueUserActivity:(NSUserActivity * )userActivity restorationHandler:( void ( ^ )( NSArray <id <uiuseractivityrestoring> > * restorableObjects))restorationHandler {
if ([[userActivity activityType ] isEqualToString: NSUserActivityTypeBrowsingWeb]) {
// Pass deep link URL to Adjust in order to potentially reattribute the user
// and to get the URL resolved if it’s a shortened one.
ADJDeeplink * deeplink = [[ADJDeeplink alloc ] initWithDeeplink: [userActivity webpageURL ]];
NSURL * referrer = [ NSURL URLWithString: @"https://example.com" ];
// If referrer URL is available, add it to the deeplink object
[deeplink setReferrer: referrer];
[Adjust processAndResolveDeeplink: deeplink
withCompletionHandler: ^ ( NSString * _Nullable resolvedLink) {
// resolvedLink contains either resolved URL (if it was unshortened)
// or just echoed URL if it was not shortened
디퍼드 딥링크
Adjust LinkMe 설정
Adjust LinkMe 솔루션 은 앱이 기기의 페이스트보드에서 딥링크 정보를 읽을 수 있도록 하여 디퍼드 딥링크를 강화할 수 있는 선택적 기능입니다.
사용자가 LinkMe URL을 클릭하면 링크 정보를 시스템 페이스트보드에 복사할 수 있는 옵션이 주어집니다. Adjust SDK는 딥링크 정보에 대한 시스템 페이스트보드를 읽고 딥링크 정보가 존재하는 경우 Adjust SDK는 사용자를 앱의 올바른 페이지로 보냅니다.
앱에서의 페이스트보드 확인을 활성화하려면 [ADJConfig enableLinkMe]
메서드를 호출합니다.
let yourAppToken = "{YourAppToken}"
let environment = ADJEnvironmentSandbox
let adjustConfig = ADJConfig (
environment : environment)
adjustConfig. enableLinkMe ()
NSString * yourAppToken = @"{YourAppToken}" ;
NSString * environment = ADJEnvironmentSandbox;
ADJConfig * adjustConfig = [[ADJConfig alloc ] initWithAppToken: @"{YourAppToken}"
environment: ADJEnvironmentSandbox];
[adjustConfig enableLinkMe ];