سؤال

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

هل كانت مفيدة؟

المحلول

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...']);
});
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top