Android Question How to track a button click in Firebase Analytics?

Like Erel says, you can use the SendEvent:
one to each button click:
B4X: Copy
Starter.analytics.SendEvent("MyButton1_Click", Null)
or use the button name as paremeter:
B4X: Copy
Starter.analytics.SendEvent("Buttons_Clicks", CreateMap ("button": "name_button1"))
 
Last edited:
Upvote 0
Starter.analytics.SendEvent("Buttons_Clicks", CreateMap ("button": button1))
you can not serialize a Objectinstance. I guess the call will fail or not storing any useful.
 
Upvote 0
Back
Top