Facebook iOS SDK-移动应用安装跟踪不起作用 [英] Facebook iOS SDK- Mobile App Install Tracking not working

查看:182
本文介绍了Facebook iOS SDK-移动应用安装跟踪不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中使用的是Facebook SDK 4.5.1版。 APP ID,URL方案,应用程序显示名称等已被正确地并入到info.plist中。我们在应用程序中拥有身份验证以及共享功能,所有这些功能都按预期完美工作。对于事件跟踪,我们有:

   - (void)applicationDidBecomeActive:(UIApplication *)application {

[FBSDKAppEvents activateApp];

}

我可以确认分析正在查看信息中心,即安装和应用程序事件正在正确报告。



但是,当我运行广告系列时,我希望SDK正确地报告移动安装,但不幸的是我没有看到任何该数据即将进入,即移动应用广告安装正在显示0安装。



这里注意一个有趣的事情 - 当使用Facebook的

解决方案

我设法让这个工作最终。没有从Facebook开发团队正式获得确认,但事实证明,应用程序设置中的高级设置部分将收集带有应用程序事件的苹果广告标识符(IDFA)关闭为我们的应用应用程序创建了很长时间后,必须打开。
虽然下面的描述似乎表明这可能不是真正的原因背后的问题,我可以确认安装开始报告,一旦我们开启了。




I'm using Facebook SDK version 4.5.1 in my application. The APP ID, URL scheme, App display name etc have been incorporated into the info.plist correctly. We have Authentication as well as Share features inside the app all of which are working perfectly as expected. For Event tracking we have;

- (void)applicationDidBecomeActive:(UIApplication *)application{

 [FBSDKAppEvents activateApp]; 

}

I can confirm that analytics is working seeing the Dashboard, i.e Installs and App events are getting reported correctly.

But when I run an Ad Campaign I would expect the SDK to correctly report the Mobile Installs but unfortunately I don't see any of that data coming in, i.e Mobile App Ad Installs are showing "0" installs.

An interesting thing to note here - when Checking with Facebook's App Ad Helper, It seems to show the "Last iOS Install" data on the top correctly but interestingly enough the second row i.e "Installs over the last 7 days" seems to show an "X".

Here's a screenshot of the same

But here's the screenshot which confirms that installs are getting reported.

解决方案

I managed to get this working eventually. Haven't got the confirmation officially from Facebook dev team on this but it turned out that the "Advanced settings" section in the App Facebook Setting has an "Collect the Apple Advertising Identifier (IDFA) with App Events" switch which was turned Off for our App. The App was created a pretty long time back and this had to be turned On. Although the description below it seems to suggest that this might not have been the real reason behind the issue, I can confirm that installs started reporting once we had this turned ON.

这篇关于Facebook iOS SDK-移动应用安装跟踪不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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