Firebase analytics events don't show value

前端 未结 3 585
渐次进展
渐次进展 2021-02-19 06:37

I have a game and I want to send event every time user sets new high score, I check if current score is > that previous and if it is I send that new high score to firebase. code

3条回答
  •  抹茶落季
    2021-02-19 07:28

    Reporting on parameters is limited to a subset of suggested events such as the LEVEL_UP event you mentioned. You can find more information in this thread.

    Technically, you could register a user property like "game_mode" and setting the value of this before you log LEVEL_UP. Then you could filter your LEVEL_UP event reporting using the filter game_mode=. We don't generally recommend doing this since user properties are meant to be used for attributes of your users that do not change often. However, it may suit your needs here.

    Alternatively, you can just add a "game_mode" parameter to the LEVEL_UP event and then link your app to BigQuery to analyze your raw data to get a breakdown of levels per game mode.

提交回复
热议问题