Google Analytics has an event tracking system that I believe applies to your needs. The details are here:
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
You add a row at the point you want to measure by creating an event (for example, a click on a top menu item).
If you use ga.js, it looks like this:
_gaq.push(['_trackEvent', 'clique-no-menu', 'menu-superior', 'resumo']);
If you use the new Analytics.js, it looks like this:
ga('send', 'event', 'button', 'click', 'menu-superior', 'resumo');
Then just go to the Event Tracking part of Google Analytics and assemble your analysis.
Note: If you are open to other options, recommend the Mixpanel, that was done just for this. The idea is the same as the Event Tracker of Google Analytics, but particularly, I find it much simpler and intuitive.
Very good. This solution fits any type of application that is asynchronous. I’ve already implemented a Flash site using this.
– utluiz