How to add Firebase custom events for analytics?

前端 未结 6 2009
迷失自我
迷失自我 2020-12-09 01:26

I\'ve seen some questions and answers about custom events for firebase analytics, but i just wanted to ask you a straight question so you can give me a straight answer :)

6条回答
  •  被撕碎了的回忆
    2020-12-09 02:12

    You can see it in console without any hacks, but it is pretty hidden there.

    Go to Firebase Analytics -> Stream View -> Select Events -> Top events -> select_content -> there you go

    My code:

    Bundle params = new Bundle();
    params.putString("invalid_url", urlPart);
    mFirebaseAnalytics.logEvent("eventInvalidUrl", params);
    

提交回复
热议问题