Browser Integration
This section explains how to integrate the MonitorDog Web SDK on the client side so you can use it in your website.
sessionTokenProvider is registered in init(), but the actual access token request runs when login() is called. Do not include the MonitorDog partner API key in the browser. Use it only from your server access token endpoint.
Install the Package with npm
Install the MonitorDog Web SDK npm package in your Web project.
npm install @monitordog/detector