These docs are for v1.0. Click to read the latest docs for v3.0.

optional (default: true)

LogRocket captures IP addresses to enable reverse-IP lookups for location search, and to help you match between back-end logs and captured sessions.

If you'd like LogRocket to not store IP addresses, add this option to your configuration:

LogRocket.init(YOUR_APP_ID, {
  shouldCaptureIP: false,
});

If you don't include this, LogRocket will capture IP addresses by default.