gpt4 book ai didi

android - 火力地堡分析 : Show Average of 'Value' Parameter and average of time like 'hh:mm:ss' in the Console for events sent from Android app

转载 作者:行者123 更新时间:2023-11-29 18:46:51 25 4
gpt4 key购买 nike

我一直在探索适用于 Android 的 Firebase Analytics,发现控制台的仪表板显示用户参与事件,该事件显示平均屏幕时间,如“hh:mm:ss”,还通过获取以下总和来显示“值”参数的平均数参数并将其除以事件的“计数”。对于我的自定义事件,它显示计数和值参数的总和,但没有显示平均值。这也适用于时间参数。所以基本上,我想:

  1. 显示 Value 参数的平均值
  2. 将事件的平均时间显示为“hh:mm:ss”
  3. 了解如何从 Android 或任何其他平台正确发送“hh:mm:ss”格式的时间参数

我正在发送如下事件:

Bundle params = new Bundle();

params.putString(FirebaseAnalytics.Param.START_DATE, new SimpleDateFormat("yyyy-MM-dd HH:mm:ss ").format(loadingStartTime));
params.putString(FirebaseAnalytics.Param.END_DATE, new SimpleDateFormat("yyyy-MM-dd HH:mm:ss ").format(loadingEndTime));
params.putDouble(FirebaseAnalytics.Param.VALUE, loadingTimeInMillis/1000);

mFirebaseAnalytics.logEvent("app_loading_event", params);

先谢谢你,任何帮助将不胜感激

最佳答案

经过几天的搜索,这些似乎无法通过 Firebase Analytics 完成。剩下的唯一选择是将 Firebase 项目与 Google Cloud BigQuery 链接,然后查询并找到 ave(value) 和提到的时间戳。要可视化查询的数据,请将 BigQuery 数据集导出到 Google Data Studio,并使用导入的数据集设计您自己的分析仪表板。然后我将 Data Studio 图表嵌入到我们的网站中。

https://cloud.google.com/solutions/mobile/mobile-firebase-analytics-bigquery https://cloud.google.com/bigquery/docs/visualize-data-studio

这是一个非常有用的教程:https://www.youtube.com/watch?v=pxNrkjBeHpw

这对于 Google Cloud Developers 来说听起来很基础,但对我来说却是全新的。

关于android - 火力地堡分析 : Show Average of 'Value' Parameter and average of time like 'hh:mm:ss' in the Console for events sent from Android app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51542172/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com