Description

Send mobile users with and without your app installed to a specific in-app activity as soon as the app is opened.

The onDeepLinking method from the DeepLinkListener interface gets the following as an input parameter:

  • DeepLinkResult object, that contains:
    • Status (found/not found)
    • Error (if the SDK operation fails, for example, the network gets disconnected)
    • DeepLink object, that contains the following deep link data methods retrieved from AppsFlyer servers:

Method

Remarks

getClickEvent

Returns a JSON with the deep link data.

getStringValue

Returns the value of a key in the click_event JSON. Used to get the custom parameter values.

getDeepLinkValue

Returns the deep_link_value.

getMatchType

Attribution method type. Possible values include:

  • gp_referrer (Google Play referrer string)
  • huawei_referrer
  • id_matching
  • probabilistic
  • srn (self-reporting network)
  • TV

getClickHttpReferrer

Identifies the address of the webpage that linked to the AppsFlyer click URL. By checking the referrer, you can see where the request originated.

getMediaSource

getCampaign

getCampaignId

getAfSub[1-5]

Parameters populated by the advertiser in the SDK.

isDeferred

Returns "true" if the user does not have the app installed.

Learn more about onDeepLinking() for Android.

Method signature

public void onDeepLinking(@NonNull DeepLinkResult deepLinkResult);