iOS organic search attribution

At a glance: Attribute existing users who re-engage with your app after an organic web search.


App owners using Universal Links for deep linking (without OneLink), who have a domain associated with their app can attribute sessions initiated via this domain using the appendParametersToDeepLinkingURL method.


  • iOS SDK 6.0.8+.
  • Call this method before calling start.


Input parameters

NSStringcontainsA domain name to identify URLs
NSDictionaryparametersParameters to append to the deeplink URL after it passed validation

Provide the following parameters in the parameters Map:

  • pid
  • is_retargeting=true

Usage example

AppsFlyerLib.shared().appendParametersToDeeplinkURL(contains: "", parameters: ["pid" : "exampleDomain", "is_retargeting" : true])
[[AppsFlyerLib shared] appendParametersToDeepLinkingURLWithString:@"" @{@"pid" : @"exampleDomain", @"is_retargeting" : @YES}]

In the example above, the attribution URL sent to AppsFlyer servers is: