adjust-icon

Additional deep link features

Method signature
static Future<String?> getLastDeeplink()

You can return the last deep link URL passed to the Adjust.processAndResolveDeeplink or Adjust.processDeeplink method by calling the Adjust.getLastDeeplink method.

final lastDeeplink = await Adjust.getLastDeeplink();
if (lastDeeplink != null) {
print('Last deep link: $lastDeeplink');
}

An optional referrer URL used to track source of the deeplink or app open for better attribution or reattribution and deep linking. For example, channels like SEO / Organic Search, Adjust links are not directly used. If the client’s root domain has Android App Links implemented and triggers an app opening, For such channels, we may have to rely on signals coming from the referrer URL to attribute or reattribute users.

If your app is able to obtain this information internally (see how it’s done on iOS and Android), you can pass the referrer information to the SDK as described below:

AdjustDeeplink adjustDeeplink = new AdjustDeeplink("DeepLinkThatLaunchedAnApp");
adjustDeeplink!.referrer = "Referrer";
Adjust.processAndResolveDeeplink(adjustDeeplink);

Enable LinkMe (iOS only)

Property declaration
bool? isLinkMeEnabled;

The Adjust SDK lets you copy deep link information from the device pasteboard. When combined with Adjust’s LinkMe solution, this feature enables deferred deep linking on devices running iOS 15 and above.

When a user clicks on a LinkMe URL they have the option to copy the link information to their system pasteboard. You can use the Adjust SDK to read the system pasteboard for deep link information. If deep link information is present, the SDK forwards the user to the correct page in your app.

To enable pasteboard checking in your app, set the isLinkMeEnabled property to true on your config object:

AdjustConfig adjustConfig = new AdjustConfig('{YourAppToken}', AdjustEnvironment.sandbox);
adjustConfig.isLinkMeEnabled = true;
Adjust.initSdk(adjustConfig);