Agent Installation
1. For NPM and YARN
If you want to include Atatus script with your source, you can add it through package managers such as YARN and NPM. Install atatus-spa from the npm or yarn registry:2. For CDN
Copy & paste this code into the<head> tag of your html (every page) to start using Atatus on your site. Please make sure that you add it before other script tags as well.
YOUR_API_KEY string with the API Key that is assigned for your project. You’re done.
For more advanced options on installing your monitoring code, view customizing agent.