Hello everyone, im trying to solve something in my app related to statistics on a button click.
I have a button that exits the user to a WhatsApp link so they can start a conversation there, my problem is that I would like to know how many times a user is using that function. So here's what Ive thought:
- Create a document with users reference of both sides in a firebase list collection (I believe this should be the best cause I will have a total number of clicks and can filter it by user. But I think is too expensive).
- Create a public stats collection where every time a user clicks on the button it updates a "WhatsApp_clicks" field, like with a custom function x+1. (that would be cheaper I guess but I will only have a total of clicks).
My idea is to say, "hey you've used x times this function", or for my admin stats "there's been x contacts through WhatsApp this month".
I only have experience on flutter flow and anything outside of it is new to me so if you have a better idea feel free to share it ๐
Count numbers of clicks
Actions & Logic
ask chatgpt
Yes
1
1 reply