Firebase Dynamic Links sono link che funzionano nel modo che preferisci, su più piattaforme e indipendentemente dal fatto che la tua app sia già installata o meno.
Con Dynamic Links, i tuoi utenti ottengono la migliore esperienza disponibile per la
piattaforma su cui aprono il tuo link. Se un utente apre un Dynamic Link su iOS o Android,
può essere indirizzato direttamente ai contenuti collegati nella tua app nativa. Se un utente
apre lo stesso Dynamic Link in un browser desktop, può essere indirizzato ai contenuti
equivalenti sul tuo sito web.
Inoltre, Dynamic Links funzionano con le installazioni di app: se un utente apre un Dynamic Link su
iOS o Android e non ha installato la tua app, può essere invitato a
installarla; quindi, dopo l'installazione, l'app si avvia e può accedere al link.
Come funziona?
Puoi creare un Dynamic Link utilizzando la console Firebase, un'API REST, l'API Builder per iOS o Android oppure formando un URL aggiungendo i parametri Dynamic Link a un dominio specifico per la tua app. Questi parametri specificano i link che vuoi aprire, a seconda della piattaforma dell'utente e dell'installazione dell'app.
Quando un utente apre uno dei tuoi Dynamic Links, se la tua app non è ancora installata, l'utente viene indirizzato al Play Store o all'App Store per installarla (a meno che tu non specifichi diversamente) e la tua app si apre. Puoi quindi recuperare il link
trasferito alla tua app e gestire il link diretto in modo appropriato per la tua app.
In alternativa, se non hai un dominio per la tua app, puoi utilizzare un sottodominio
page.link personalizzato senza costi:
https://example.page.link/summer-sale
Crea il tuo sottodominio senza costi aggiuntivi nella console Firebase.
Tutte le funzionalità di Dynamic Links, tra cui analisi, attribuzioni post-installazione e
integrazioni SDK, funzionano sia con i domini page.link personalizzati sia con il tuo
dominio.
Percorso di implementazione
Configura Firebase e l'SDK Dynamic Links
Attiva Firebase Dynamic Links per il tuo progetto Firebase nella
console Firebase. Poi, includi l'SDK Dynamic Links nella tua app.
Crea Dynamic Links
Puoi creare Dynamic Links a livello di programmazione o utilizzando la
console Firebase.
Gestire l'intent Dynamic Links nella tua app
All'apertura dell'app, utilizza l'SDK Dynamic Links per verificare se è stato
trasmesso un Dynamic Link. In tal caso, recupera il deep link dai dati di Dynamic Link e gestiscilo in base alle esigenze.
Visualizzare i dati di analisi
Monitora il rendimento del tuo Dynamic Links nella console Firebase.
Passaggi successivi
Scopri alcuni dei Firebase Dynamic Links più comuni
casi d'uso e come implementarli.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-08-28 UTC."],[],[],null,["Firebase Dynamic Links \nplat_ios plat_android plat_web plat_flutter plat_cpp plat_unity \n\nFirebase Dynamic Links are links that work the way you want, on multiple\nplatforms, and whether or not your app is already installed. \n| **Note:** Firebase Dynamic Links is *deprecated* and should not be used in new projects. The service will be shutting down soon. Follow the [migration guide](/support/dynamic-links-faq#how_should_i_migrate_from_the_service) and see the [Dynamic Links Deprecation FAQ](/support/dynamic-links-faq) for more information.\n\nWith Dynamic Links, your users get the best available experience for the\nplatform they open your link on. If a user opens a Dynamic Link on iOS or Android,\nthey can be taken directly to the linked content in your native app. If a user\nopens the same Dynamic Link in a desktop browser, they can be taken to the equivalent\ncontent on your website.\n\nIn addition, Dynamic Links work across app installs: if a user opens a Dynamic Link on\niOS or Android and doesn't have your app installed, the user can be prompted to\ninstall it; then, after installation, your app starts and can access the link.\n\nHow does it work?\n\nYou create a Dynamic Link either by using the Firebase console, using a REST\nAPI, iOS or Android Builder API, or by forming a URL by adding Dynamic Link parameters to a domain\nspecific to your app. These parameters specify the links you want to open, depending on the\nuser's platform and whether your app is installed.\n\nWhen a user opens one of your Dynamic Links, if your app isn't yet installed, the\nuser is sent to the Play Store or App Store to install your app (unless you\nspecify otherwise), and your app opens. You can then retrieve the link that\nwas passed to your app and handle the deep link as appropriate for your app.\n\nCustom link domains\n\nYou can [create Dynamic Links using\nyour own domain name](/docs/dynamic-links/custom-domains): \n\n```\nhttps://example.com/summer-sale\nhttps://example.com/links/promos/summer-sale\nhttps://links.example.com/summer-sale\nhttps://ex.amp.le/summer-sale\n```\n\nOr, if you don't have a domain for your app, you can use a no-cost custom\npage.link subdomain: \n\n```\nhttps://example.page.link/summer-sale\n```\n\nCreate your subdomain at no charge in the Firebase console.\n\nAll Dynamic Links features, including analytics, post-install attributions, and\nSDK integrations, work with both custom page.link domains and your own\ndomain.\n\nImplementation path\n\n|---|-----------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | **Set up Firebase and the Dynamic Links SDK** | Enable Firebase Dynamic Links for your Firebase project in the Firebase console. Then, include the Dynamic Links SDK in your app. |\n| | **Create Dynamic Links** | You can create Dynamic Links programmatically or by using the Firebase console. |\n| | **Handle Dynamic Links in your app** | When your app opens, use the Dynamic Links SDK to check if a Dynamic Link was passed to it. If so, get the deep link from the Dynamic Link data and handle the deep link as necessary. |\n| | **View analytics data** | Track the performance of your Dynamic Links in the Firebase console. |\n\nNext steps\n\n- Learn about some of Firebase Dynamic Links' most common [use cases](/docs/dynamic-links/use-cases) and how to implement them.\n- Learn how to [create\n Dynamic Links](/docs/dynamic-links/create-links) and then receive them in your [iOS](/docs/dynamic-links/ios/receive), [Android](/docs/dynamic-links/android/receive), [Flutter](/docs/dynamic-links/flutter/receive), [Unity](/docs/dynamic-links/unity/receive), and [C++](/docs/dynamic-links/cpp/receive) apps.\n- Use your own [custom\n domain](/docs/dynamic-links/custom-domains) for Dynamic Links.\n- Understand your Dynamic Links's performance with two [analytics](/docs/dynamic-links/analytics) tools."]]