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 as a js file in head tag:

    <script src="https://logger.lognroll.com/jslib.lnr.1.0.1.js"></script>
  2. Initialize the SDK

    Initialize the LogNroll SDK in your application:

    <script> window.lnr.initSession('companyId', ); </script>
  3. Identify User (Optional)

    Start recording user sessions with a single line of code:

    window.lnr.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