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:

  1. Installation

    Add LogNroll to your project using npm or yarn:

    npm install @lognroll
  2. Initialize the SDK

    Import and initialize the LogNroll SDK in your application:

    import { LogNroll } from '@lognroll';
    
    LognRoll.initSession('companyId', {});
    
  3. Identify User (Optional)

    Start recording user sessions with a single line of code:

    LognRoll.identifyUser('userId', {
        'name': 'userName',//optional
        'email': '[email protected]'//optional
    });
  4. Next Steps

    Now that you have LogNroll installed, you can view recorded sessions in your dashboard