You can use this API to track a deep link or a marketing link, as long as the link contains a key a.deeplink.id
and a corresponding non-null and user generated value. The link can be created in the Adobe Mobile Services UI or be generated by another vendor.
public static void trackAdobeDeepLink(final Uri uri)
Uri testUri = new Uri.Builder().scheme("adobelinktest").appendQueryParameter("a.deeplink.id", "test_deeplinkId").appendQueryParameter("a.launch.campaign.trackingcode", "code").appendQueryParameter("test_key", "test_value").build();​MobileServices.trackAdobeDeepLink(testUri);
+ (void) trackAdobeDeepLink: (NSURL*) url;
NSURL* url = [NSURL URLWithString:@"adobelinktest://x?a.deeplink.id=test_deeplinkId&a.launch.campaign.trackingcode=code&test_key=test_value"];​[ACPMobileServices trackAdobeDeepLink:url];
let url = URL(string: "adobelinktest://x?a.deeplink.id=test_deeplinkId&a.launch.campaign.trackingcode=code&test_key=test_value")!ACPMobileServices.trackAdobeDeepLink(url)
You can use this API to process the referrer intent that was received from Android.
Tip: This API is available only in Android.
public static void processReferrer(final Context context, final Intent intent)
public void onReceive(Context context, Intent intent) {MobileServices.processReferrer(context, intent);}