revolunet / angular-google-analytics

Google Analytics tracking for your AngularJS apps
MIT License
652 stars 172 forks source link

Add support to Exception Tracking #130

Closed cmolina closed 8 years ago

cmolina commented 8 years ago

It would be nice if you provide a way to send exceptions to google analytics, as explained here: https://developers.google.com/analytics/devguides/collection/analyticsjs/exceptions

justinsa commented 8 years ago

You can already do this by calling:

Analytics.send('exception', { exDescription: '', exFatal: false });

I added a convenience method to accomplish this so no one has to know or write the above: Analytics.trackException('description', false);

PR will be out shortly.

cmolina commented 8 years ago

Thank you :) Are you going to keep supporting bower?

justinsa commented 8 years ago

Of course. I tag every release so Bower is aware. Is there an issue with Bower?

cmolina commented 8 years ago

No, sorry, I've just failed at upgrading the package. It is working fine.