The OneLink Developer Hub

Welcome to the OneLink developer hub. You'll find comprehensive guides and documentation to help you start working with OneLink as quickly as possible, as well as support if you get stuck. Let's jump right in!

API reference

onAppOpenAttribution

Description

Get data for users when the app opens via a deep link (not via deferred deep linking).

Method signature

- (void)onAppOpenAttribution:(NSDictionary *)attributionData;

performOnAppAttribution

Description

This function allows developers to manually re-trigger onAppOpenAttribution and enables developers to access deep link data at any time without connection to the app launch process. This might be needed because the regular onAppOpenAttribution callback is only called if the app was opened with the deep link.

Method signature

- (void)performOnAppAttributionWithURL:(NSURL * _Nullable)URL;

onAppOpenAttributionFailure

Description

Handle errors in getting deep link data.

Method signature

- (void)onAppOpenAttributionFailure:(NSError *)error;

onConversionDataSuccess

Description

Get conversion data after an install. Useful for deferred deep linking.

Method signature

- (void)onConversionDataSuccess:(NSDictionary *)installData;

onConversionDataFail

Description

Handle errors when failing to get conversion data from installs.

Method signature

- (void)onConversionDataFail:(NSError *)error;

Updated about a month ago


API reference


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.