Shutdown notice: Errorception is shutting down on 30th June. Read more.

Getting started with Errorception

Just copy-paste a script snippet, and you're done!

When you sign up with Errorception, you will be given a custom script tag. Simply copy-paste the script tag to your site, such that it is located before all other script tags, and deploy. You will start recording errors immediately.

The following script tag is an example of what you'd get.

<!-- Sample code. Don't use this! Use the snippet in your settings instead. -->
    (function(_,e,rr,s){_._errs=[s];var c=_.onerror;_.onerror=function(){var a=arguments;_errs.push(a);
    c&&c.apply(this,a)};var b=function(){var c=e.createElement(rr),b=e.getElementsByTagName(rr)[0];

This code above, even if somewhat cryptic, has been optimised to give you very high performance at all times, and to ensure that your site is not affected even if Errorception's servers go down. All network calls are asynchronous and are deferred until after window.onload is fired. This ensures that your page load process isn't affected at all, while still letting you record errors right from the very beginning. Your users will not see any performance impact whatsoever. Read more about Errorception's performance care.

If you are serving your files from a CDN, or from a domain different from that of your site, you should read the notes about setting up CORS.