[英]Showing an interstitial with Firebase Dynamic Links
On the official page for Firebase Dynamic links ( https://firebase.google.com/docs/dynamic-links/ ) there is a mention of showing an interstitial if the app is not installed: https://youtu.be/LvY1JMcrPF8?list=PLl-K7zZEsYLmOF_07IayrTntevxtbUxDL&t=87 在Firebase动态链接的官方页面( https://firebase.google.com/docs/dynamic-links/ )上,如果未安装该应用程序,则会显示插页式广告: https : //youtu.be/LvY1JMcrPF8 ?list = PLl-K7zZEsYLmOF_07IayrTntevxtbUxDL&t = 87
Dynamic Links work seamlessly across iOS, Android, and desktop and mobile web. 动态链接可跨iOS,Android,台式机和移动网络无缝运行。 Dynamic Links can be configured to provide the best possible user experience, whether that's a personalized app launch, a fast interstitial, or opening your mobile website. 可以将动态链接配置为提供最佳的用户体验,无论是个性化应用程序启动,快速插页式广告还是打开您的移动网站。
How can you do that? 你该怎么做?
This is not a feature Firebase provides out-of-the-box. 这不是Firebase开箱即用的功能。
Here are the steps you would need to implement it: 这是实现它所需的步骤:
ifl
link param to a URL on your website. 生成动态链接并将ifl
链接参数设置为您网站上的URL。 ifl
param. 构建自定义的非页内广告并将其托管在ifl
参数中使用的URL上。 ifl
param pointed to the App Store 在该插页式广告中,插入第二条动态链接,其ifl
参数指向App Store
link
param in my testing). 无需执行此步骤,因为Firebase文档指出默认情况下应将没有应用程序的用户自动转发到App Store,但我从未见过这种情况的发生–没有应用程序的用户总是被带到link
参数中的URL在我的测试中)。 link
param on this second link, it will overwrite the value from the initial link. 如果在第二个链接上设置了link
参数,它将覆盖初始链接中的值。 You need to either leave link
blank, or pass it through. 您需要将link
保留为空白,或者将其传递通过。 If you don't want to deal with this, you should check out Branch.io (full disclosure: I'm on the Branch team). 如果您不想处理此问题,则应查看Branch.io (完整披露:我在Branch团队中)。 The Branch Journeys feature does exactly this for your own website, and the Deepviews feature provides the same thing if you don't have a website and don't want to set one up. Branch Journeys功能完全可以为您自己的网站完成此操作,而Deepviews功能可以在您没有网站且不想建立网站的情况下提供相同的功能 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.