I am developing a website in ASP.net and I would like to be able to track the mouse movements whilst a user of the site is browsing pages on the site and be able to store the duration in seconds of how long the cursor is left in specific areas on the user's screen (blocks of areas on the screen) back in my site's database.
Is there a .net class which can handle this or can I only do this in JavaScript or AJAX?
I am sure that mouse tracking can be done in Javascript but I can't really store the positions and times collected to my database in the background without interrupting the user whilst he is browsing around the site.
Can anybody please shed some light on this or refer me to some example code which does exactly this?
Thanks,
Matthew