Sử dụng API Trình tạo Dynamic Link trên iOS, Android và Flutter. Đây là cách ưu tiên để tạo động các đường liên kết trong ứng dụng của bạn cho hoạt động chia sẻ giữa người dùng với nhau hoặc trong mọi trường hợp cần nhiều đường liên kết. Bạn có thể theo dõi hiệu suất của Dynamic Links được tạo bằng Builder API bằng cách sử dụng Dynamic LinksAnalytics API.
Sử dụng API REST. Đây là cách được ưu tiên để tạo đường liên kết một cách linh động trên những nền tảng không có Builder API.
Bạn có thể sử dụng Analytics REST API để theo dõi hiệu suất của các chiến dịch khuyến mãi được tạo trong bảng điều khiển.
Thủ công. Nếu không cần theo dõi dữ liệu lượt nhấp và không quan tâm đến việc các đường liên kết có dài hay không, bạn có thể tạo Dynamic Links theo cách thủ công bằng cách sử dụng các thông số URL. Bằng cách này, bạn sẽ tránh được một chuyến khứ hồi mạng bổ sung.
Các bước tiếp theo
Sau khi tạo Dynamic Links, bạn cần thiết lập ứng dụng để nhận Dynamic Links và chuyển người dùng đến đúng vị trí trong ứng dụng sau khi người dùng mở Dynamic Links.
Để nhận Dynamic Links trong ứng dụng của bạn, hãy xem tài liệu về iOS, Android, Flutter, C++ và Unity.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-28 UTC."],[],[],null,["\u003cbr /\u003e\n\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\nThere are four ways you can create a Dynamic Link:\n\n- Using the [Firebase console](https://console.firebase.google.com/project/_/durablelinks/links/). This is useful if you're creating promo links to share on social media. This way you can select a custom suffix and a name for the link in the [Firebase console](https://console.firebase.google.com/project/_/durablelinks/links/). You can track the performance of these Dynamic Links in the [Firebase console](https://console.firebase.google.com/project/_/durablelinks/links/) or via the [Analytics REST API](/docs/reference/dynamic-links/analytics).\n- Using the Dynamic Link Builder API on [iOS](/docs/dynamic-links/ios/create), [Android](/docs/dynamic-links/android/create), and [Flutter](/docs/dynamic-links/flutter/create). This is the preferred way to dynamically create links in your app for user-to-user sharing or in any situation that requires many links. You can track the performance of Dynamic Links created with the Builder API using the Dynamic Links [Analytics API](/docs/reference/dynamic-links/analytics).\n- Using the [REST API](/docs/dynamic-links/rest). This is the preferred way to dynamically create links on platforms that don't have a Builder API. The [Analytics REST API](/docs/reference/dynamic-links/analytics) can be used to track the performance of promo campaigns created in the console.\n- [Manually](/docs/dynamic-links/create-manually). If you don't need to track click data and you don't care if the links are long, you can manually construct Dynamic Links using URL parameters, and by doing so, avoid an extra network round trip.\n\nNext steps\n\nAfter you create Dynamic Links, you need to set up your app to receive\nDynamic Links and send users to the right place in your app after a user opens them.\n\nTo receive Dynamic Links in your app, see the documentation for\n[iOS](/docs/dynamic-links/ios/receive), [Android](/docs/dynamic-links/android/receive),\n[Flutter](/docs/dynamic-links/flutter/receive),\n[C++](/docs/dynamic-links/cpp/receive), and [Unity](/docs/dynamic-links/unity/receive)."]]