There is a strong need for user-centered metrics for web applications, which can be used to measure progress towards key goals, and drive product decisions.
The Ember-Insights.js is an Ember.js based framework that lets you gather user-centered metrics and analyze them through web analytic platforms such as Google Ananlytics, as well as a process for mapping product goals to metrics.
The way we do the Ember-Insights.js makes possible to keep both developers and application business logic entirely segregated from tracking user-centered experience, as it is a completely distinct layer on top of your application.
The main idea behind is to provide a DSL for mapping particular transitions and actions or just trap {ALL_TRANSITIONS: true, ALL_ACTIONS: true} and send them into web analytics platform with out touching actual application business logic.
With additional instrumentation, it is also posible to dispatch custom events, variables, fields and finally, measure timings from user-centered perspective.