Manually constructing a Dynamic Link URL


You can create a Dynamic Link by manually constructing a URL with the following form:
https://your_subdomain.page.link/?link=your_deep_link&apn=package_name[&amv=minimum_version][&afl=fallback_link]

Dynamic Link parameters

Deep link parameter (Payload parameter)
link
The link your app will open. Specify a URL that your app can handle, typically the app's content or payload, which initiates app-specific logic (such as crediting the user with a coupon or displaying a welcome screen). This link must be a well-formatted URL, be properly URL-encoded, use either HTTP or HTTPS, and cannot be another Dynamic Link.
Android parameters
apnThe package name of the Android app to use to open the link. The app must be connected to your project from the Overview page of the Firebase console. Required for the Dynamic Link to open an Android app.
aflThe link to open when the app isn't installed. Specify this to do something other than install your app from the Play Store when the app isn't installed, such as open the mobile web version of the content, or display a promotional page for your app.
amvThe versionCode of the minimum version of your app that can open the link. If the installed app is an older version, the user is taken to the Play Store to upgrade the app.
iOS parameters
ibiThe bundle ID of the iOS app to use to open the link. The app must be connected to your project from the Overview page of the Firebase console. Required for the Dynamic Link to open an iOS app.
iflThe link to open when the app isn't installed. Specify this to do something other than install your app from the App Store when the app isn't installed, such as open the mobile web version of the content, or display a promotional page for your app.
iusYour app's custom URL scheme, if defined to be something other than your app's bundle ID
ipflThe link to open on iPads when the app isn't installed. Specify this to do something other than install your app from the App Store when the app isn't installed, such as open the web version of the content, or display a promotional page for your app.
ipbiThe bundle ID of the iOS app to use on iPads to open the link. The app must be connected to your project from the Overview page of the Firebase console.
isiYour app's App Store ID, used to send users to the App Store when the app isn't installed
imvThe version number of the minimum version of your app that can open the link. This flag is passed to your app when it is opened, and your app must decide what to do with it.
Other platform parameters
oflThe link to open on platforms beside Android and iOS. This is useful to specify a different behavior on desktop, like displaying a full web page of the app content/payload (as specified by param link) with another dynamic link to install the app.
Social Meta Tag parameters
stThe title to use when the Dynamic Link is shared in a social post.
sdThe description to use when the Dynamic Link is shared in a social post.
siThe URL to an image related to this link. The image should be at least 300x200 px, and less than 300 KB.
Analytics parameters
utm_source
utm_medium
utm_campaign
utm_term
utm_content
gclid
Google Play analytics parameters.
at
ct
mt
pt
iTunes Connect analytics parameters.

Debugging a URL

You can debug a Dynamic Link by taking a long or short URL and attaching a debug parameter.
https://example.page.link/?link=https://www.example.com&d=1
https://example.page.link/WXYZ?d=1
Debug parameter
dInstead of loading the Dynamic Link, generate a flowchart you can use to preview your Dynamic Links' behavior on different platforms and configurations.

Next steps

After you create a Dynamic Link, you need to set up your app to receive Dynamic Links and send users to the right place in your app after a user opens them.
To receive Dynamic Links in your app, see the documentation for iOS, Android, C++, and Unity.

Was this page helpful?

Comments

popular

firebase authentication using email/password

ABOUT SANTAN DHARM

HTML5 Tutorial

firebase realtime database