8

Can I track the click of every link, button, dropdown select, etc. on a screen and have it be tracked in Google Analytics?

I want to create a page and collect data on which widget the users use most.

What about AJAX stuff? What if you're using jQuery or Mootools...can you get the functions to register a fake URL with GA based on user interaction? I use to do this with Flash. Everytime you click a button, it can initiate a fake URL request. I would make urls such as ".../customize/eyes/" or ".../customize/nose", etc. Just wondering if I can do that with Javascript on the page.

I've also posted at StackOverflow.

2 Answers 2

7

There are a number of ways to do that. To begin with Google already tracks each click you make on a link on a page. In Google Analytics go to Content>Site Overlay

  1. Use the Function PageView for Google Analytics http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html. This can be somewhat poor
  2. Tools like CrazyEgg track specifically where each click occurs on the page, even within the link itself. The only major downsides are that it costs money and that it has some issues with AJAX enabled code and correctly marking where someone has clicked.
1
  • There are even tools for usability testing that track all mouse movements. These are generally paid services, but they record mouse movements of visitors and then let you play them back to see how people are using your site. Commented Oct 8, 2010 at 4:38
2

I have personally used Crazy Egg and I have heard good things about Clicktale for heatmaps and usability testing. I would recommend checking both of them out.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.