I would like to track the usage of HTML pages visited by the end user on my Mobile App. This is built using HTML5 and phonegap. The app might be offline when visiting the customer and when gets connected to online, the data has to be synched with the server DB(MS-SQL). When I meet the customer I will show the html content(with links) to him, I would like to track how much time the customer spent on that particular page, with a like button for the same page. Tracking will involve the time spent and like for every page. Do get back for any clarifications on the same.