diff --git a/swift/basic_app/basic_app/AppDelegate.swift b/swift/basic_app/basic_app/AppDelegate.swift index 2fd4339..b5299b6 100644 --- a/swift/basic_app/basic_app/AppDelegate.swift +++ b/swift/basic_app/basic_app/AppDelegate.swift @@ -130,6 +130,13 @@ extension AppDelegate: DeepLinkDelegate { return } + if deepLinkObj.clickEvent.keys.contains("deep_link_sub2") { + let ReferrerId:String = deepLinkObj.clickEvent["deep_link_sub2"] as! String + NSLog("[AFSDK] AppsFlyer: Referrer ID: \(ReferrerId)") + } else { + NSLog("[AFSDK] Could not extract referrerId") + } + let deepLinkStr:String = deepLinkObj.toString() NSLog("[AFSDK] DeepLink data is: \(deepLinkStr)")