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
Type | Name | Description |
---|---|---|
NSString | contains | A domain name to identify URLs |
NSDictionary | parameters | Parameters 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
Updated 3 months ago