iOS: Branded domains [Draft]
At a glance: Set a branded domain for the iOS SDK
Overview
For an introduction, see Branded domains.
Use oneLinkCustomDomains to register the branded domain(s) mapped to your OneLink subdomain, so the SDK recognizes clicks from that domain.
Prerequisites
- iOS SDK 4.10.1+.
- Set this property before calling
start. - The domain must already be mapped to your OneLink subdomain via CNAME. See Brand OneLink with your domain.
Set this beforestartIf the SDK initializes first, the domain isn't recognized and deep linking falls back to default resolution.
Usage
Usage example
AppsFlyerLib.shared().oneLinkCustomDomains = ["promotion.greatapp.com", "click.greatapp.com"]
AppsFlyerLib.shared().start()[AppsFlyerLib shared].oneLinkCustomDomains = @[@"promotion.greatapp.com", @"click.greatapp.com"];
[[AppsFlyerLib shared] start];Don't include https:// as part of the domain.
See also
Updated 13 days ago
Did this page help you?