LogRocket JavaScript SDK
The LogRocket JavaScript SDK enables session replay and error monitoring for web applications. Once initialized with LogRocket.init(), it automatically records user sessions including DOM changes, network requests, console logs, and JavaScript errors. The SDK provides methods for user identification, session URL retrieval, and custom event tracking. It can be installed via npm or script tag and integrates with popular frameworks like React, Angular, and Vue.