Backbone.js: Organize your google analytics and mixpanel tracking

When setting up your Backbone views for Google Analytics event tracking, there’s no standard way to organize your code. You can either use some global wrapper that you’ve rolled or embed the fully-baked calls to `_gaq.push` everywhere.

I created a Backbone plugin, Backbone.MetricManager, to provide some structure. Hope it helps!

Check it out: https://github.com/mrjoelkemp/backbone.metricmanager

Comments

comments