I'm creating a meteor app that has a user login system and a button. A user can press the button to add their username to a collection, until it is removed by a super-user.
I want to take note each time a user clicks the button, and download that information in a .csv file or a similar format. So, for example, say user A presses the button at time t1, user B presses it at time t2, user C presses it at t3, and then user A presses it again at time t4. I want to export a record of these interactions in a nice format. ***Note: the button clicks aren't stored in an array so the solution to this question (How to export JavaScript array info to csv (on client side)?) doesn't help me -- unless I'm misunderstanding something, which is totally possible!
I started working through this tutorial for exporting data from meteor apps (https://themeteorchef.com/tutorials/exporting-data-from-your-meteor-application) but it quickly became complicated, and I'm not sure how to keep track of the button clicks using this method.
This seems like a relatively simple task. Is there an easy work-around or common method that I'm missing out on? Thanks!