Control whether or not a users IP address is sent to LogRocket
Disable IP Address capture
shouldCaptureIP
- Boolean
shouldCaptureIP
- Booleanoptional (default - true
)
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,
});