Track/Log user clicks

Track/Log user clicks

oleh Ross Bauer -
Jumlah balasan: 2

I'm trying to log when a user clicks one of my links I've added in my custom block. I already have a custom table and I'm familiar with adding/selecting entries. My question is there any way to call a php function when a user clicks on a link? 

Right now I'm thinking of adding a hidden form that submits to another page to add entries into the db. Seems like a lot of work and was wondering if anyone had an alternate solution for tracking user clicks on links?

Rata-rata penilaian:Useful (1)
Sebagai balasan Ross Bauer

Re: Track/Log user clicks

oleh Roy Larke -

Ross, any chance you found a way to solve this problem? If there is, could you let me know?

Thanks


Roy

Sebagai balasan Ross Bauer

Re: Track/Log user clicks

oleh Phuong Hoang -

That's what I need and I used to mention in Future features. However, I have no answer and I don't how to a php. I hope there will be more people interested in this feature.

Kind regards, 

Pengecualian - read error on connection to moodle-org-app-dgfdb:6379

Informasi selanjutnya mengenai galat ini