I have a Flutter app. Normally, we can track events with one data. I want to track 2 data.
Normally with firebase we can track different events like:
- screen_view
- session_start
- first_open
- a
- b
What do I want?
- x | y together
How can I achieve this for my Flutter app in Firebase?
Must I use FireStore database? Is there way to do this with Firebase Analytics Events?
2
Answers
Have you checked this documentation?
All you got to do is set userId (using email or anything else you use) at your analytics implementation.
As the documentation says:
You can track events with multiple data or parameter by doing:
I used
screen_view
as sample event name. You can check the docs here for more.