【问题标题】:Branch.io: Generating batch content reference for app indexingBranch.io:为应用索引生成批量内容参考
【发布时间】:2018-06-22 21:58:56
【问题描述】:

我正在构建一个 LBS 应用,其中列出了 5000 多个位置供人们搜索。

我也希望这些位置在 Google 上为 be searchable,以便点击来自 google 的链接的人会被引导打开我的应用(如果已安装)。

问题是我必须为每个位置生成一个Branch Universal Object 吗?如果是这样,我是否应该在每次启动我的应用时立即生成这些对象?

【问题讨论】:

    标签: ios branch.io


    【解决方案1】:

    是的,您必须为每个位置生成分支通用对象,并且每次用户执行共享操作时都应该这样做。

    let lp: BranchLinkProperties = BranchLinkProperties()
    lp.channel = "facebook"
    lp.feature = "sharing"
    lp.campaign = "content 123 launch"
    lp.stage = "new user"
    lp.tags = ["one", "two", "three"]
    
    lp.addControlParam("$desktop_url", withValue: "http://example.com/desktop")
    lp.addControlParam("$ios_url", withValue: "http://example.com/ios")
    lp.addControlParam("$ipad_url", withValue: "http://example.com/ios")
    lp.addControlParam("$android_url", withValue: "http://example.com/android")
    lp.addControlParam("$match_duration", withValue: "2000")
    
    lp.addControlParam("custom_data", withValue: "yes")
    lp.addControlParam("look_at", withValue: "this")
    lp.addControlParam("nav_to", withValue: "over here")
    lp.addControlParam("random", withValue: UUID.init().uuidString) 
    
    buo.showShareSheet(with: lp, andShareText: message, from: self) { (activityType, completed) in
      print(activityType ?? "")
    }
    

    另外,让我将 SEO 索引分为两点:

    1. 当您使用分支通用对象创建分支链接时,即当您请求在我们的分支服务器上生成链接时,我们会收到所有链接数据并且您会收到分支链接。现在,由于我们拥有了与 Branch 链接相关的所有数据,因此可以将其添加到站点地图中。

    流程: 请求生成分支链接 -> 将链接数据发送到分支服务器 -> 分支服务器发回链接 -> 为站点地图生成添加的链接

    1. 当我们生成站点地图时,要索引托管在您的域分支上的分支链接,需要对链接进行一些参与。这意味着,要在 Google 搜索排名中为链接及其内容编制索引,分支链接需要对其执行一些操作,以便为具有参与度的链接创建索引排名。

    流程: 分支链接(已在站点地图中)-> 在媒体平台上共享-> 用户点击该链接-> Google 开始在搜索结果中索引该链接

    以下是开始编制索引的步骤:

    1. 添加分支 SDK:您可以在此处根据您的平台查看文档:https://docs.branch.io/pages/apps/ios/

    2. 设置深层链接路由:您需要在单击分支链接时将用户深层链接到应用程序中的特定内容。请在此处参考我们的文档:您可以在此处查看文档https://docs.branch.io/pages/apps/ios/#navigate-to-content

    3. 添加分支链接共享:请参阅此处的文档以在此处生成可共享的链接:https://docs.branch.io/pages/viral/content-sharing/#generate-shareable-links

    4. 在 Branch Dashboard 上启用 App Indexing:设置完所有内容后,您现在需要在 Branch Dashboard 上启用 App Indexing,如以下文档所述:https://docs.branch.io/pages/organic-search/firebase/#overview

    另外,请注意,如果您没有移动网络,则分支链接索引最有用,否则 Google 将始终将您的移动网页在网络排名中优先于分支链接。

    【讨论】:

    • 感谢巴拉特!所以基本流程是:为一个位置生成一个链接 > 在社交媒体上分享它 > 让某人点击它。但是我怎么知道它是否真的被谷歌索引了?通过检查仪表板状态?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-23
    相关资源
    最近更新 更多