英文:
Invoke appClip from specific URL endpoint
问题
我们已经在应用程序和AASA文件中使用appclips:<domain>
配置了关联域。还为卡片显示配置了元标签。应用剪辑卡片正常工作。
现在的问题是,我们是否可以使其仅在某些特定的URL端点上显示。例如,仅在<domain>/someEndpoint
上显示应用剪辑卡片。
假设域名是example.com
,那么它应该仅在example.com/someEndpoint
上显示应用剪辑卡片。
英文:
we've configure Associated Domain with appclips:<domain>
in app and AASA file at that domain. configure meta tag as well for Card display. App clip card is working fine.
now question is, can we make it as it will display only at some specific URL endpoints. for ex. display appClip card only for <domain>/someEndpoint
.
let's say domain is example.com
, then it should show appClip card only for example.com/someEndpoint
.
答案1
得分: 0
将其仅应用于该特定端点的方式是只将元标记应用于该特定端点。
根据苹果文档中的横幅部分链接
> 要将智能应用横幅添加到您的网站,请在每个要显示横幅的页面的 head 元素中包含以下元标记:
英文:
solve it by only applying meta tag to that specific end point.
as per apple documentation for banner link
> To add a Smart App Banner to your website, include the following meta tag in the head element of each page where you’d like the banner to appear:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论