Atatus Real User Monitoring and error tracking agent for single page applications (SPA).
Using yarn
yarn add atatus-spa
Using npm
npm install atatus-spa --save
In your web page:
<script type="text/javascript" src="/PATH_TO_ATATUS/atatus-spa.min.js"></script>
<script>
atatus.config('YOUR_API_KEY').install();
</script>
For more advanced options, refer our documentation.
Atatus is also available from our content delivery network:
<script type="text/javascript" src="https://dmc1acwvwny3.cloudfront.net/atatus-spa.js"></script>
<script>
atatus.config('YOUR_API_KEY').install();
</script>
To use Atatus with CommonJS imports:
var atatus = require('atatus-spa');
atatus.config('YOUR_API_KEY').install();
To use Atatus with ES2015 (ES6) imports:
import * as atatus from 'atatus-spa';
atatus.config('YOUR_API_KEY').install();