Use Mixpanel plugin for Web to easily add tracking of some special events to your web application.
Key Features of Mixpanel
Notifications
A/B Testing
Annotations
Versatile Data Visualization
Point and Click Analytics
Visual Coding
Mobile Surveys
Auto-track