branch.io深层链接URL无法从Facebook Ads传递App中的数据 [英] branch.io deep-linked URL not passing data in App from Facebook Ads

查看:155
本文介绍了branch.io深层链接URL无法从Facebook Ads传递App中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用 branch.io 将自定义数据传递到App。为此,我们在分支仪表板中执行以下步骤。



1)广告->合作伙伴管理-> Facebook->创建Facebook链接



2)在 深层链接 部分的键/值中设置数据(我们在应用程序中需要的数据)



3)我们分别在Android / iO中设置了Play / App Store URL,或者在 重定向 下设置了默认重定向部分



就是这样!



现在转到Facebook Ads Manager并选择 App Install Campaign。 / p>

1)在应用程序部分下选择Play / App Store。



2)在 > 深层链接



您可以在此处了解更多信息:> https://docs.branch.io/pages/deep-linked-ads/facebook-app-install- ads /



现在我们的问题是:


  1. W如果用户单击带有深层链接参数的任何分支链接,则在用户全新安装应用程序和用户已安装应用程序的情况下,都能够接收数据。

  2. 当我们单击Facebook广告时如果用户尚未安装应用程序,则使用相同的url我们将无法获取分支数据(通常是在用户从App Store / Play商店重定向时)。但是用户安装了该应用程序后,我们便可以从同一URL接收所有分支数据。

所以问题是:



1)我们是否需要Facebook的任何许可或缺少Branch或Facebook上的任何配置?



2)同样的事情会起作用



谢谢

解决方案

不幸的是,用来设置它的branch.io文档还很不完善-我们只花了大约一周的时间对SDK进行测试和调试,以弄清楚如何使其正常工作。



在Android上:


  1. < a href = https://developers.facebook.com/docs/android/getting-started rel = nofollow noreferrer>集成Facebook SDK (如果尚未集成)

  2. 确保作为(1)的一部分添加的 facebook_app_id 字符串资源没有以 fb为前缀

  3. 如果您使用的是ProGuard,请添加规则以保持Facebook SDK的相关部分

  4. 在<$ c $上调用 enableFacebookAppLinkCheck() c>在实例初始化后立即分支

在iOS上:


  1. 集成Facebook SDK 如果您还没有做过ady

  2. Branch 实例上调用 registerFacebookDeepLinkingClass(FBSDKAppLinkUtility.self)初始化后


We are using branch.io to pass custom data to App. For that we are following this steps in branch dashboard.

1) Ads -> Partner Management -> Facebook -> Create Facebook Link

2) Set data in Key/Value under "Deep Linking" Section (data which we need in our app)

3) We set Play/App Store URL in Android/iOs respectively Or set Default Redirects under "Redirects" section

That's it!!!

Now Go to Facebook Ads Manager and select App Install Campaign.

1) Select Play/App Store under App Section.

2) Set above generated URL under "deffered deep link"

You can read more here : https://docs.branch.io/pages/deep-linked-ads/facebook-app-install-ads/

Now Our Problem is :

  1. When user clicked on any branch link with deep link params it able to receive data in both case when user fresh install the application and if user has already app installed.
  2. When we clicked on Facebook ads with same url we are unable to get branch data if user has not installed application (Mostly in case when user redirect from App Store/play store) . But user has installed the app we can able to receive all branch data from same url.

So Question is:

1) Do we need any permission from Facebook or missing any configuration on Branch or Facebook?

2) The same thing will work with both (e.g. Android and iOs) devices?

Thanks

解决方案

Unfortunately the branch.io documentation for setting this is up is pretty incomplete - we just spent about a week testing and debugging the SDK to figure out how to get it to work. The necessary changes itself are actually quite simple.

On Android:

  1. Integrate the Facebook SDK if you haven't done so already
  2. Ensure that the facebook_app_id string resource you added as part of (1) is not prefixed with "fb"
  3. If you are using ProGuard, add rules to keep the relevant parts of the Facebook SDK
  4. Call enableFacebookAppLinkCheck() on your Branch instance right after initializing it

On iOS:

  1. Integrate the Facebook SDK if you haven't done so already
  2. Call registerFacebookDeepLinkingClass(FBSDKAppLinkUtility.self) on your Branch instance right after initializing it

这篇关于branch.io深层链接URL无法从Facebook Ads传递App中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆