Firebase Dynamic Links הם קישורים שפועלים כמו שרוצים, בכמה פלטפורמות, בין אם האפליקציה כבר מותקנת ובין אם לא.
עם Dynamic Links, המשתמשים מקבלים את חוויית השימוש הטובה ביותר האפשרית בפלטפורמה שבה הם פותחים את הקישור שלכם. אם משתמש פותח Dynamic Link ב-iOS או ב-Android, הוא יכול לעבור ישירות לתוכן המקושר באפליקציה המקורית שלכם. אם משתמש פותח את אותו Dynamic Link בדפדפן במחשב, הוא יכול לעבור לתוכן המקביל באתר שלכם.
בנוסף, Dynamic Links פועלים בכל התקנות האפליקציה: אם משתמש פותח Dynamic Link ב-iOS או ב-Android והאפליקציה שלכם לא מותקנת במכשיר שלו, יכול להיות שהוא יתבקש להתקין אותה. לאחר ההתקנה, האפליקציה שלכם תופעל ותהיה לה גישה לקישור.
איך זה עובד?
אפשר ליצור Dynamic Link באמצעות מסוף Firebase, באמצעות REST API, iOS או Android Builder API, או באמצעות יצירת כתובת URL על ידי הוספת פרמטרים של Dynamic Link לדומיין שספציפי לאפליקציה שלכם. הפרמטרים האלה מציינים את הקישורים שאתם רוצים לפתוח, בהתאם לפלטפורמה של המשתמש ולאם האפליקציה שלכם מותקנת.
כשמשתמש פותח אחד מהקישורים Dynamic Links, אם האפליקציה שלכם עדיין לא מותקנת, המשתמש מועבר אל חנות Play או אל App Store כדי להתקין את האפליקציה (אלא אם ציינתם אחרת), והאפליקציה נפתחת. לאחר מכן אפשר לאחזר את הקישור שהועבר לאפליקציה ולטפל בקישור העומק בהתאם לאפליקציה.
לחלופין, אם אין לכם דומיין לאפליקציה, אתם יכולים להשתמש בתת-דומיין מותאם אישית בחינם ב-page.link:
https://example.page.link/summer-sale
אפשר ליצור תת-דומיין בחינם במסוף Firebase.
כל התכונות של Dynamic Links, כולל ניתוח נתונים, שיוכים לאחר התקנה ושילובים של SDK, פועלות עם דומיינים מותאמים אישית של page.link ועם הדומיין שלכם.
נתיב ההטמעה
הגדרת Firebase ו-Dynamic LinksSDK
מפעילים את Firebase Dynamic Links בפרויקט Firebase במסוף Firebase. לאחר מכן, מוסיפים את Dynamic Links SDK לאפליקציה.
יצירה Dynamic Links
אפשר ליצור Dynamic Links באופן פרוגרמטי או באמצעות מסוף Firebase.
הכינוי Dynamic Links באפליקציה
כשפותחים את האפליקציה, משתמשים ב-Dynamic Links SDK כדי לבדוק אם הועבר אליה Dynamic Link. במקרה כזה, צריך לקבל את קישור העומק מנתוני Dynamic Link ולטפל בקישור העומק לפי הצורך.
הצגת נתוני ניתוח
אפשר לעקוב אחרי הביצועים של Dynamic Links במסוף Firebase.
השלבים הבאים
Firebase Dynamic Linksתרחישי שימוש נפוצים ב-Firebase Dynamic Links ואיך מיישמים אותם.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 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."]]