Recording button clicks


I would like to be able to track clicks made on specific parts of my lesson. Specifically, I want students to be able to click on a button and then send notification to be stored in a file on my server. This notification may look like "student ID - Button A (or B or whatever), date and time". I guess I can achieve this with a trigger but do not have the time or experience to investigate the coding.

Is there some contributed code that could perhaps be adapted for this purpose?

Thank you for any help - and sorry for being such a scavenger but I need this fairly urgently for an experiment we are trying to do in my university.


2 Replies