Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Can Google Analytics be used for tracking user behavior in a single page web application? I have used Google Analytics for typical websites but haven't used it for these type of web apps.

If not Google Analytics, are there other tools that can be used? I believe some sort of custom tracking will need to be setup for user interactions?

share|improve this question

2 Answers 2

Google Analytics can be used with single page applications. You can either use Events to track user behaviour, or you can register "virtual" page views in the same way that real pages get recorded in a multi-page site.

share|improve this answer
    
I used events, thanks! –  Srirangan May 4 '12 at 2:25

If someone is interested in achieving the same with Piwik read here:

http://piwik.org/docs/javascript-tracking/#toc-manually-trigger-a-page-view-on-click-or-on-js-event

What you basically have to do is simply triggering a page view manually whenever it is appropriate.

piwikTracker.trackPageView('Current/Path/Or/Any/Name');
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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