Facebook为安卓系统安装追踪器[英] Facebook installs tracking for Android

本文是小编为大家收集整理的关于Facebook为安卓系统安装追踪器的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

我们仍在调查过程中,为什么我们的安装不会被跟踪.我已经通过Facebook打开了另一张支持票,以澄清安装和登录是否相等或不同的事件,但我也想更多地挖掘ti.facebook模块.由于更新,我们一直在测试Android.

这是Facebook SDK上的解释,需要做些什么来跟踪安装:

广告/SDK#安装跟踪

这是在Android中登录安装的代码:

protected void onResume() { 
  super.onResume(); 
  AppEventsLogger.activateApp(this); 
}

我在整个ti.facebook模块上进行了搜索,但我尚未找到呼叫call oppeventslogger.activateapp

可以是一个错误,还是有其他方法可以在安装时首次激活记录器?

推荐答案

似乎确实只有为iOS实施而不是为Android实施.您可以创建一个 jira> jira Appcelerator jira的票务以将其报告为错误.

如果您链接到此问题,AppCelerator将了解参考,并在此处链接JIRA票,以便其他人也可以关注该票以进行进度.

其他推荐答案

我已修复了此错误,并将拉的请求提交给ti.facebook模块.我们已经发布了一个发行版来检查它,它从昨天下午开始就在那里,现在适用于我们的创业公司.

拉请求: https://github.com/appceler.com/appcelerator-modules/ti.face/pacebook/pull/37

本文地址:https://www.itbaoku.cn/post/1938170.html

问题描述

We are still in process of investigation, why our installs do not get tracked. I have opened another support ticket with Facebook to clarify if install and login are equal or different events, but I also want to dig more into the Ti.Facebook module. We've been testing on Android because of the ease of updates.

This is the explanation on Facebook SDK, what needs to be done, to track installs:

https://developers.facebook.com/docs/app-ads/sdk#install-tracking

And this is the code to log in installs in Android:

protected void onResume() { 
  super.onResume(); 
  AppEventsLogger.activateApp(this); 
}

I searched all over Ti.Facebook module, and I have not found a call to AppEventsLogger.activateApp

Can it be a bug or is there some other way to activate the logger first time upon install?

推荐答案

It seems there indeed this is only implemented for iOS and not for Android. You could create a JIRA ticket at the Appcelerator JIRA to report this as a bug.

If you link to this question Appcelerator will understand the reference, and link the JIRA ticket here, so others can also follow this ticket for progress.

其他推荐答案

I have fixed this bug and submitted pull request to Ti.Facebook module. We have published a release to check it, it´s there since yesterday afternoon and it works correctly now for our startup.

Pull request: https://github.com/appcelerator-modules/ti.facebook/pull/37