当我的应用加载有任何引起关注的问题时,是否有以下消息.如果我残疾FirebaseAutomaticScreenReportingEnabled,那有什么后果吗?关于这个在线信息不多.
Firebase自动屏幕报告已启用.调用+ [FIRAnalytics setScreenName:setScreenClass:]设置屏幕名称或覆盖默认屏幕类名称.要禁用自动屏幕报告,请在Info.plist中将标志FirebaseAutomaticScreenReportingEnabled设置为NO
我将Firebase和GTM集成在cocoapods上:
pod 'Firebase/Core'
pod 'GoogleTagManager', '~> 5.0'
Run Code Online (Sandbox Code Playgroud)
Podfile.lock用于使用的版本:
- Firebase/Core(3.12.0):
- FirebaseAnalytics(= 3.6.0)
- FirebaseCore(= 3.4.7)
- FirebaseAnalytics(3.6.0):
- FirebaseCore(〜> 3.4)
- FirebaseInstanceID(〜> 1.0)
- GoogleInterchangeUtilities(〜> 1.2)
- GoogleSymbolUtilities(〜> 1.1)
- GoogleToolboxForMac/NSData + zlib(〜> 2.1)
- FirebaseCore(3.4.7):
- GoogleInterchangeUtilities(〜> 1.2)
- GoogleSymbolUtilities(〜> 1.1)
- GoogleToolboxForMac/NSData + zlib(〜> 2.1)
- FirebaseInstanceID(1.0.8)
- GoogleAnalytics(3.17.0)
- GoogleInterchangeUtilities(1.2.2):
- GoogleSymbolUtilities(〜> 1.1)
- GoogleSymbolUtilities(1.1.2)
- GoogleTagManager(5.0.8):
- FirebaseAnalytics(〜> 3.0)
- GoogleAnalytics(〜> 3.0)
- GoogleUtilities(〜> 1.3.0)
- GoogleToolboxForMac/Defines(2.1.1)
- GoogleToolboxForMac/NSData + zlib(2.1.1):
- GoogleToolboxForMac/Defines(= 2.1.1)
- GoogleUtilities(1.3.2):
- GoogleSymbolUtilities(〜> 1.1)
并按照集成文档中的步骤进行操作,但我发出了不间断的警告:
GoogleTagManager info: Processing logged event: (null) with parameters: (null)
<FIRAnalytics/WARNING> Attempted to log nil event
Run Code Online (Sandbox Code Playgroud)
从应用开始的完整日志:
Firebase automatic screen reporting is disabled. …Run Code Online (Sandbox Code Playgroud) google-analytics ios firebase google-tag-manager firebase-analytics
我想在没有google-services.json的情况下使用FirebaseOptions初始化Firebase,我正在关注此处的博客文章https://firebase.googleblog.com/2017/03/take-control-of-your-firebase-init-on. HTML.
我删除了FirebaseInitProvider.
<provider
android:name="com.google.firebase.provider.FirebaseInitProvider"
android:authorities="${applicationId}.firebaseinitprovider"
tools:node="remove"/>
Run Code Online (Sandbox Code Playgroud)
我正在尝试在Application子类中设置默认的FirebaseApp:
FirebaseOptions options = new FirebaseOptions.Builder()
.setApplicationId("valid_app_id")
.setGcmSenderId("valid_gcm_sender_id")
.setApiKey("valid_api_key")
.build();
FirebaseApp.initializeApp(getApplicationContext(), options);
Run Code Online (Sandbox Code Playgroud)
似乎一切正常,但是当我想将一些事件记录到FirebaseAnalytics时,我收到此错误:缺少google_app_id.Firebase Analytics已停用.我不知道是什么问题.
我将Firebase事件导出到BigQuery,现在我正在尝试从某个事件中选择两个参数.以下是选择一个参数的查询:
select event_dim.params.value.int_value as level_id
from [com_company_appname_ANDROID.app_events_20161210]
where event_dim.name = "level_replays_until_first_victory" and event_dim.params.key = "level_id"
Run Code Online (Sandbox Code Playgroud)
两个参数都是int值,第一个参数的名称是level_id,第二个参数是count.我想要显示的是level_id第一列和count第二列.
Firebase通过Firebase远程配置提供拆分测试功能,但是缺乏在具有用户属性的群组部分中过滤保留的能力(实际上具有任何属性).
为了解决这个问题,我正在寻找BigQuery,因为Firebase Analytics提供了将数据导出到此服务的可用方法.
但我坚持许多问题,谷歌没有答案或例子可能指向我正确的方向.
一般的问题:
作为第一步,我需要聚合代表相同数据firebase队列的数据,所以我可以确定我的计算是正确的:
下一步应该只是对查询应用约束,因此它们匹配自定义用户属性.
到目前为止我得到的是:
主要问题 - 用户计算的巨大差异.有时大约有100个用户,但有时接近1000个用户.
这是我使用的方法:
# 1
# Count users with `user_dim.first_open_timestamp_micros`
# in specified period (w0 – week 1)
# this is the way firebase group users to cohorts
# (who started app on the same day or during the same week)
# https://support.google.com/firebase/answer/6317510
SELECT
COUNT(DISTINCT user_dim.app_info.app_instance_id) as count
FROM
(
TABLE_DATE_RANGE
(
[admob-app-id-xx:xx_IOS.app_events_],
TIMESTAMP('2016-11-20'),
TIMESTAMP('2016-11-26')
)
)
WHERE
STRFTIME_UTC_USEC(user_dim.first_open_timestamp_micros, '%Y-%m-%d')
BETWEEN '2016-11-20' AND '2016-11-26'
# 2
# For each next period …Run Code Online (Sandbox Code Playgroud) 尝试在调试模式下异步设置2个自定义用户属性
FIRAnalytics.setUserPropertyString(value: "value_1", forName: "name_1")
FIRAnalytics.setUserPropertyString(value: "value_2", forName: "name_2")
Run Code Online (Sandbox Code Playgroud)
无论值是什么,我只会在Firebase控制台调试视图中看到最后一个属性已更新.所以在这种情况下"name_2"="value_2".
是否一次只能设置一个用户属性,这些请求应该是同步的,还是只是一个调试报告问题?
在Firebase文档中找不到任何相关内容.
在Xcode控制台中,我看到:
<Debug> [Firebase/Analytics]Setting user property. Name, value: name_1, value_1
<Debug> [Firebase/Analytics]User property set. Name, value: name_1, value_1
<Debug> [Firebase/Analytics]Setting user property. Name, value: name_2, value_2
<Debug> [Firebase/Analytics]User property set. Name, value: name_2, value_2
<Debug> [Firebase/Analytics]Engagement timer canceled
<Debug> [Firebase/Analytics]Engagement timer scheduled to fire in approx. (s): 3600
<Debug> [Firebase/Analytics]Ignoring duplicate view controller
Run Code Online (Sandbox Code Playgroud)
更新1:如果延迟第二个请求,则两个属性都设置正确:
FIRAnalytics.setUserPropertyString(value: "value 1", forName: "name 1")
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(1), execute: { …Run Code Online (Sandbox Code Playgroud) 我有一个有很多关卡的游戏(像2000这样的东西).我想创建一个漏斗,通过这些级别来看球员的进步并平衡太难的.
我不能为每个级别发送一个唯一的事件(例如"Level 0040 Completed"),因为Firebase有500个唯一事件的限制.所以我需要发送一个像"Level Completed"这样的事件并将级别编号作为参数发送.但我不知道如何使用该参数创建漏斗.有没有办法用事件参数创建漏斗?
我需要Firebase Analytics仪表板的支持。我使用iOS和Android应用程序的屏幕名称注册事件,这些值是在Firebase仪表板上正确显示的信息。但是,在将“ (未设置) ”与频繁更新的值一起使用时,还会显示一个额外的参数。
我有关于 Firebase 事件的问题。Firebase 事件视图显示“事件计数”、“用户”和“每个用户计数”。(参考下面的屏幕截图链接)我认为“每个用户计数”是通过“事件计数”/“用户”计算的,但“每个用户计数”值与我计算的不同。我有谁知道这个值是如何计算的吗?这是 Firebase 的错误吗?

我们目前在 Android 应用程序中以简单的方式使用 Firebase Analytics。
我们需要报告某些数据(来自特定活动),以便可以对其进行过滤并将其呈现给业务合作伙伴,而无需授予访问其余数据的权限 - 我们只希望他们浏览与其活动相关的报告。
我们发现单独使用 Firebase Analytics 是不可能实现的,因此我们正在考虑创建 2 个 Google Analytics 属性,并根据我们在应用程序内的运行时决策以某种方式向它们报告。
然而,这似乎也是不可能的,因为 Firebase 允许链接到一个特定的 Google Analytics 属性,并且在添加多个属性或决定以编程方式使用哪个属性方面提供零灵活性。 https://support.google.com/analytics/answer/9289234?hl=en
使用多个 Firebase 项目也无法实现这种灵活性,因为只能使用在构建级别定义的默认项目来报告分析。 https://firebase.google.com/docs/projects/multiprojects#reliable-analytics
有什么解决方案吗?或者我们应该为此目的转向另一个第三方分析 SDK?
android google-analytics google-analytics-api firebase firebase-analytics