iOS organic search attribution

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

Overview

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.

Prerequisites

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

Usage

Input parameters

TypeNameDescription
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: "example.com", parameters: ["pid" : "exampleDomain", "is_retargeting" : true])
[[AppsFlyerLib shared] appendParametersToDeepLinkingURLWithString:@"example.com" @{@"pid" : @"exampleDomain", @"is_retargeting" : @YES}]

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

example.com?pid=exampleDomain&is_retargeting=true