Question

I've been looking around and can't find any information on whether or not you can track finger swipes in Google Analytics.

Was it helpful?

Solution

Yes, you can do this. jQuery Mobile includes swipe support

$("#the_div_id_that_is_swiped").on("swipe", function(event) {
   // it has been swiped, so track it as an event
   _gaq.push(['_trackEvent', 'Swipe', 'Landing Page Image', 'Description in here...']);
});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top