Start by adding the
raven.js script tag to your page. It should be loaded as early as possible.
<script src="https://cdn.ravenjs.com/3.24.2/raven.min.js" crossorigin="anonymous"></script>
Configuring the Client¶
Next configure Raven.js to use your Sentry DSN:
At this point, Raven is ready to capture any uncaught exception.