Firebase Dynamic Links: What They Are and How They Work
deep linking technology combined with Firebase's backend to create seamless user experiences.How It Works
Firebase Dynamic Links act like special web addresses that remember where you want to send a user, even if they don't have the app installed yet. Imagine sending a friend a map link that not only shows the destination but also guides them inside a building once they arrive. If your friend doesn't have the map app, the link first helps them install it, then takes them straight to the right room.
Technically, when a user clicks a Dynamic Link, Firebase checks if the app is installed. If yes, it opens the app and sends the user to the linked content. If not, it sends the user to the app store to install the app, then opens the app to the right place after installation. This works on both Android and iOS devices, making user journeys smooth and personalized.
Example
This example shows how to create a Firebase Dynamic Link using the Firebase REST API. The link directs users to a specific page inside the app or website.
{
"dynamicLinkInfo": {
"domainUriPrefix": "https://example.page.link",
"link": "https://www.example.com/welcome?user=123",
"androidInfo": {
"androidPackageName": "com.example.android"
},
"iosInfo": {
"iosBundleId": "com.example.ios"
}
}
}When to Use
Use Firebase Dynamic Links when you want to create smooth user experiences that connect marketing, sharing, or onboarding with your app content. For example:
- Sharing a product page link that opens directly inside your shopping app.
- Inviting friends to join your app with personalized referral links.
- Running marketing campaigns that send users to specific app screens after install.
- Linking from emails or social media to app content, even if the app is not installed yet.
They help increase user engagement and reduce friction in app discovery and usage.
Key Points
- Dynamic Links work across platforms and survive app installs.
- They can carry data to personalize user experience after app launch.
- Firebase provides tools to create, manage, and track these links.
- They improve user onboarding and marketing effectiveness.