Deferred Deep Linking
SDK Version Selection
Choose your SDK version below:
- Apptrove SDK → Recommended for all projects (Latest: v2.0.0)
- Trackier SDK → Will be deprecated in May 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.
note
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 May 2026)
main.dart
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 = (String? uri) {
print("Deferred Deep Link URL: $uri");
};
AppTroveFlutterSdk.initializeSDK(config);
if (Platform.isIOS) {
AppTroveFlutterSdk.subscribeAttributionlink();
}
}
main.dart
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 = (String uri) {
print("Deferred Deep Link URL: $uri");
};
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
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.