Deferred Deep Linking
Choose your SDK version below:
- Apptrove SDK → Recommended for all projects (Latest: v2.x.x)
- Trackier SDK → Will be deprecated in August 2026 (v1.x.xx)
Use the tabs below to view deferred deep linking code for your chosen SDK.
Deferred deep linking happens when a user clicks a Apptrove URL but doesn't have your app installed. The URL redirects to the app store, and when the user installs and opens the app, the SDK retrieves the deep link data.
For iOS Only: To enable deferred deep link functionality on iOS, you need to call the subscribeAttributionlink() method after initialization. This allows our server to send the attributed data parameters to the app. For Android, deferred deep linking works automatically without this call.
Implementation
1. Initialize SDK with Deferred Deep Link Callback
- ✓ Apptrove SDK (Recommended)
- Trackier SDK (Deprecating August 2026)
import 'dart:io' show Platform;
import 'package:apptrove_sdk_flutter/apptrove_sdk_flutter.dart';
void initializeSDK() {
AppTroveSDKConfig config = AppTroveSDKConfig("your-sdk-key", "development");
config.deferredDeeplinkCallback = (deepLink) {
print("Deferred Deep Link URL: ${deepLink.url}");
print("Deep Link Value: ${deepLink.deepLinkValue}");
};
AppTroveFlutterSdk.initializeSDK(config);
if (Platform.isIOS) {
AppTroveFlutterSdk.subscribeAttributionlink();
}
}
import 'dart:io' show Platform;
import 'package:trackier_sdk_flutter/trackier_sdk_flutter.dart';
void initializeSDK() {
TrackerSDKConfig config = TrackerSDKConfig("your-sdk-key", "development");
config.deferredDeeplinkCallback = (deepLink) {
print("Deferred Deep Link URL: ${deepLink.url}");
print("Deep Link Value: ${deepLink.deepLinkValue}");
};
Trackierfluttersdk.initializeSDK(config);
if (Platform.isIOS) {
Trackierfluttersdk.subscribeAttributionlink();
}
}
Testing
Android Testing
- Prepare APK: Build APK with SDK integration
- Click Link: Open test URL in browser - redirects to Play Store
- Install APK: Install APK manually (not from Play Store)
- Launch App: Open app - deferred deep link should be processed
A manually-installed APK (step 3) never carries referrer data — Google only populates it for installs via the Play Store app. Other known gaps: managed Google Workspace accounts; apps not yet live on a Play Store track or organic installs (both get the organic default utm_source=google-play&utm_medium=organic instead of real campaign data); Play Store versions below 8.3.73; and reinstalling on the same device without resetting the Google Advertising ID (GAID) first.
iOS Testing
- Prepare IPA: Build IPA with SDK integration
- Click Link: Open test URL in Safari - redirects to App Store
- Install App: Install via TestFlight or direct installation
- Launch App: Open app - deferred deep link should be processed
Example Test URL:
https://yourdomain.u9ilnk.me/d/Af2xeLPI77?pid=Ron+Media+Source&cost_value=0&cost_currency=GBP&lbw=1d&camp=Ron+Referral+Test&dlv=RonTestClass&p2=param_2_value&sdk_param=sdk_param_value
Common Issues
| Issue | Solution |
|---|---|
| No app store redirect | Check Store Redirect in Apptrove Panel |
| Deep link not processed | Ensure subscribeAttributionlink() is called after SDK initialization |
| Missing parameters | Verify URL includes required parameters |
For further assistance, contact support at support@apptrove.com.