Quickstart

Getting started is easy:

  1. Visit https://app.logrocket.com to get an app ID.
  2. Install LogRocket via NPM or script tag. LogRocket.init() must be called client-side, not server-side.
$ npm i --save logrocket

// Code:

import LogRocket from 'logrocket';
LogRocket.init('app/id');
Add to your HTML:

<script src="https://cdn.lr-ingest.io/LogRocket.min.js"></script>
<script>window.LogRocket && window.LogRocket.init('app/id');</script>
  1. (Optional) Install plugins for deeper integrations with your stack:
    -- Redux middleware
    -- ngrx middleware
    -- Vuex plugin

Updated 12 days ago


Quickstart


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.