Quickstart Guide
Get started with LogNroll in minutes. Follow these simple steps to begin tracking user sessions and errors.
Quickstart Guide
Follow these steps to get started with LogNroll:
Installation
Add LogNroll to your project as a js file in head tag:
<script src="https://logger.lognroll.com/jslib.lnr.1.0.1.js"></script>
Initialize the SDK
Initialize the LogNroll SDK in your application:
<script> window.lnr.initSession('companyId', ); </script>
Identify User (Optional)
Start recording user sessions with a single line of code:
window.lnr.identifyUser('userId', { 'name': 'userName',//optional 'email': '[email protected]'//optional });
Next Steps
Now that you have LogNroll installed, you can view recorded sessions in your dashboard