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 using npm or yarn:
npm install @lognroll
Initialize the SDK
Import and initialize the LogNroll SDK in your application:
import { LogNroll } from '@lognroll'; LognRoll.initSession('companyId', {});
Identify User (Optional)
Start recording user sessions with a single line of code:
LognRoll.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