[NEW] Log events from Onboarding, NewServer, Login and Register screens#2169
Merged
diegolmello merged 17 commits intoRocketChat:developfrom Jul 22, 2020
Merged
Conversation
…ding-workspaces-login
diegolmello
requested changes
Jun 8, 2020
diegolmello
requested changes
Jun 17, 2020
This was referenced Jun 30, 2020
…ding-workspaces-login
What was done in this PR:
logEventmethod to isolate to logic to improve future maintenance./utils/log/events.jsto define all the current events, to easily find them and to prevent typo if an event would be used in multiple places.OnboardingView:
NewServerView:
LoginServices:
LoginView:
RegisterView:
Since Firebase Analytics Events can take a while to appear to the dashboard, I'll be using the Analytics Debug View to test the event sending.
Here is a screenshot of Analytics Debug View with all the tracked events in this PR:

user_engagement and screen_view are default Firebase events, in this screenshot I selected the join_open_workspace event to show all the default payloads, the best one is firebase_screen which references the screen that the selected event was triggered.