Deep Linking
Deep linking opens your mobile app directly when users click a link, providing a seamless experience.
How Deep Linking Works
- User clicks your Linquid short link on mobile
- Linquid detects the device (iOS/Android)
- The deep link is triggered to open your app
- If the app isn’t installed, the fallback URL is used
Setting Up Deep Links
On a Link
Enable deep linking on any link:
{
"deepLinkEnabled": true,
"deepLinkIos": "yourapp://product/123",
"deepLinkAndroid": "intent://product/123#Intent;scheme=yourapp;package=com.yourapp;end",
"deepLinkFallbackUrl": "https://example.com/product/123"
}
On a Rule
Apply deep linking to specific conditions:
{
"type": "device",
"conditions": { "os": ["ios"] },
"destinationUrl": "https://apps.apple.com/app/id123",
"deepLinkEnabled": true,
"deepLinkIos": "yourapp://promo/summer",
"deepLinkFallbackUrl": "https://example.com/promo"
}
iOS Deep Links
URL Scheme
Basic URL scheme:
yourapp://path/to/content
Universal Links (Recommended)
For Universal Links, configure your app’s Associated Domains and use your web URL:
https://yourapp.com/product/123
Android Deep Links
Intent URL
Full intent syntax with fallback:
intent://path/to/content#Intent;
scheme=yourapp;
package=com.yourapp.android;
S.browser_fallback_url=https://example.com/fallback;
end
App Links (Recommended)
For App Links, use your verified web URL:
https://yourapp.com/product/123
Deep Link Generator
Use our helper to generate deep links:
// iOS URL Scheme
generateDeepLink({
platform: 'ios',
scheme: 'yourapp',
path: '/product/123',
params: { ref: 'email' }
})
// → yourapp://product/123?ref=email
// Android Intent
generateDeepLink({
platform: 'android',
scheme: 'yourapp',
package: 'com.yourapp',
path: '/product/123'
})
// → intent://product/123#Intent;scheme=yourapp;package=com.yourapp;end
Common Deep Link Patterns
E-commerce
{
"deepLinkIos": "shopapp://product/SKU123",
"deepLinkAndroid": "intent://product/SKU123#Intent;scheme=shopapp;package=com.shop.app;end"
}
{
"deepLinkIos": "instagram://user?username=yourprofile",
"deepLinkAndroid": "intent://user?username=yourprofile#Intent;scheme=instagram;package=com.instagram.android;end"
}
Streaming
{
"deepLinkIos": "spotify://track/4iV5W9uYEdYUVa79Axb7Rh",
"deepLinkAndroid": "intent://track/4iV5W9uYEdYUVa79Axb7Rh#Intent;scheme=spotify;package=com.spotify.music;end"
}
Fallback Behavior
When the app isn’t installed:
- iOS: Falls back to
deepLinkFallbackUrl or App Store
- Android: Uses
S.browser_fallback_url in intent or Google Play
Set a meaningful fallback URL that provides context about the app and includes an app store download link.
Testing Deep Links
Test your deep links before deploying:
- Create a test link with deep linking enabled
- Click from a mobile device
- Verify the app opens to the correct screen
- Uninstall the app and verify fallback works