引流广告条问题排查

错误消息

网站 SDK 错误

  • You must have the web SDK installed on your website to run a Journey. The Branch SDKs for deferred deep and contextual deep linking help you grow your apps and websites with deep links that power referral systems, sharing links and invites with full attribution and analytics. If you've integrated the Web SDK already and you're still seeing issues see the Web SDK troubleshooting guide.
  • 如果您没有看到 Journey 加载,请与您的开发人员确认已在所有网页上加载。

应用 SDK 警告

如果您选择将 iOS 或 Android 用户锁定为目标用户,但尚未集成这些 SDK,那么您的 Journeys仍将显示在正确的设备上,且会将用户引导至您的应用。但是,您将无法获得 Journeys的任何安装或事件归因,并且无法将深度链用户引导至应用内的内容。

Be sure to integrate the Branch SDK into your app. If you've integrated the iOS SDK already and you're still seeing issues see the iOS SDK troubleshooting guide and/or Android SDK troubleshooting guide.

未显示 Journey

如果您正在测试 Journey,但 Journey 没有显示,则应查看 dismissal settings 。如果点击关闭 Journey,并且您不在 incognito 浏览器中,则在测试时不会显示。我们建议您进行 incognito 测试并检查您的dismissal setting。

受众规则警告

如果您的受众群体规则的总和未达到100%,您将看到一条警告。如果少于100%,则其余部分将看到您网站的正常行为。您的 Journey (站到端引流)仍将继续。

对 [branchsubdomain] 的调用遭到阻止

📘

Click here to read about the value to use for [branchsubdomain]

Please make sure to add [branchsubdomain] to the CSP header for your pages. We've seen some browsers that attempt to block it outright. You can deliver this in an HTTP header from your web server, or you can add a simple metatag to your site like so:

<meta http-equiv="Content-Security-Policy" content="default-src https://[branchsubdomain]; child-src 'none'; object-src 'none'">

非移动优化网站

If you're not using a mobile viewport tag (<meta name="viewport" content="width=device-width initial-scale=1, maximum-scale=1, user-scalable=no">) because your site isn't mobile-optimized, Journeys will appear shrunken. Not to worry, here's a workaround:

  1. 设计广告横幅,使其显示在您的网站上
  2. 转到 CSS 编辑器并滚动到 CSS 代码的底部
  3. 向 #branch-banner 选择器添加两个属性
    • height: 228;
    • zoom: 3;

由于操作后台 (Dashboard)已针对移动设备进行了优化,因此在编辑器视图中图像的缩放比例看起来不合适。使用 Validation 屏幕上的预览测试链接来确保广告横幅正确显示。

防止顶部条幅广告和固定导航栏之间的重叠

  1. Configure Creatives 屏幕上,点击到 Page Placement 选项卡。
  2. 此广告横幅是否随页面滚动或固定在框架中? 选择 sticky
  3. 点击 Save & Close
  4. 然后,将以下 div 添加到导航中
<div class="branch-journeys-top"></div>
876876