ga.js: Track JavaScript, AngularJS and jQuery errors with Google Analytics
Generate an error:
Pure JavaScript
AngularJS
jQuery
jQuery Ajax