Firebase用户参与度计算 [英] Firebase User Engagement Calculation

查看:196
本文介绍了Firebase用户参与度计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想把头放在Firebase用户参与度计算上.我现在正在做大量的debugview测试,正如在线文档所述( https://support .google.com/firebase/answer/6317485 ),默认情况下,Firebase会在会话中在应用程序处于前台时定期触发 user_engagement 事件.

I am trying to wrap my head around the Firebase User Engagement Calculation. I am doing a lot of debugview testing now, and as the online documentation states (https://support.google.com/firebase/answer/6317485), Firebase is firing the user_engagement event by default on a periodic basis within a session while the app is in the foreground.

到目前为止,我看到的是在参与的开始和结束时相当可靠地触发了user_engagement(在特定的会话中可能多次发生).

What I have seen thusfar is that user_engagement is fired quite reliably in the beginning and end of an engagement (this can be occurring multiple times in a specific session).

场景: 举例来说,我开始了会话并退出了应用程序,但在相同的30分钟内再次返回. session_start不会再次触发,而只会触发user_engagement.这非常聪明,因为我实际上可以查询这种情况下遇到的第一个和最后一个参与度.

Scenario: Say for instance I started my session and exited the app, but returned again within the the same 30 minutes time slot. The session_start won't fire again, but only user_engagement. This is quite clever, because I can actually then query first and last engagement experienced within this scenario.

我的问题是: 然后,我实际上如何查询user_engagement的开始与用户参与的结束之间的区别?目前,engage_time_msec允许我测量:自上一次user_engagement事件以来的额外参与时间(毫秒)(

My question is: How would I actually then query the difference between the beginning of a user_engagement and end of the user engagement ? Currently engagement_time_msec allows me to measure: The additional engagement time (ms) since the last user_engagement event (https://support.google.com/firebase/answer/7061705?hl=en), and not since the beginning of the user_engagement. What if I wanted to measure engagement from the first engagement and last engagement, assuming my specific scenario describe earlier. The idea of this question is to ask how would an example query look like to address this question.

推荐答案

自从我发布此问题以来,我发现查看会话持续时间而不是用户参与事件之间的持续时间会更明智.

Since I posted this question, I found it would be a lot wiser to look at Session Duration and not Duration between User Engagement Events.

据我所知,不能更新user_engagement事件的设置,但是可以确定会话何时应开始(在0、5、10、15等秒后)和b)会话应结束的时间(在闲置10、30、60等分钟后).

As far as I know, one can not update settings of the user_engagement event, but one can however determine when a session should start (after 0, 5, 10, 15, etc seconds) and b) when a session should end (after 10, 30, 60, etc minutes of inactivity).

为了帮助您入门,这里有很多很好的例子:

To help you get started here is great examples:

  • How to calculate Session and Session duration in Firebase Analytics raw data?
  • Session Calculations
  • Session-Duration Distribution-table in Firebase
  • Sessions-per-User Distribution-table in Firebase

重要:默认情况下,自触发user_engagement事件起,Firebase会话默认在至少10秒后开始(会话在至少30分钟的时间内没有触发user_engagement的情况下结束).因此,只要用户使用您的应用的时间少于10秒,您就可以在没有会话的情况下增加用户的参与度.通常,这意味着您的仪表板中的活动用户数将比在Firebase事件选项卡下启动会话的用户高.

Important: a Firebase session starts by default after at least 10s since a user_engagement event was triggered (and a session ends after a period of at least 30 minutes of no triggers of user_engagement). And so, whenever users use your app for a period of less than 10s, you will accrue user engagement without a session. This typically means that you will have higher active user base in your dashboard, than users which started a session under your Firebase Events'-tab.

这篇关于Firebase用户参与度计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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