Why does this not work on Mobile?

by 3 replies
4
I was looking to track when and how many times buttons on a website are pressed - and discovered Google Analytics does this with their event tracking.

However, I can get it to work on a desktop site just fine. But when I try and use it on a mobile website, to track clicks to buttons, it never seems to detect anything.

Does anyone know how I can get this to work?
#programming #google analitics #mobile #work
  • You probably need to bind to touch events instead of click events. You don't click things on mobile browsers, you tap them.

    This might be helpful:

    http://stackoverflow.com/questions/9...e-touch-events
    • [ 1 ] Thanks
  • Banned
    yes somtimes problem is occur when we open site on mobile. it is not same as open on computer screen..plz give me solution of this problem
    • [1] reply
    • NOT a solution, but I propose a workaround.

      Use on the mobile site redirect links instead of direct links.
      Use redirection software to manage your redirects.
      This will count the times the redirection was used because the hits (traffic) will process (move) through the redirection site.

Next Topics on Trending Feed

  • 4

    I was looking to track when and how many times buttons on a website are pressed - and discovered Google Analytics does this with their event tracking. However, I can get it to work on a desktop site just fine. But when I try and use it on a mobile website, to track clicks to buttons, it never seems to detect anything.