diff --git a/docs/platforms/react-native/index.mdx b/docs/platforms/react-native/index.mdx index dc12e8efa9aa4b..3afe653c36eff3 100644 --- a/docs/platforms/react-native/index.mdx +++ b/docs/platforms/react-native/index.mdx @@ -77,6 +77,9 @@ Sentry.init({ // profilesSampleRate is relative to tracesSampleRate. // Here, we'll capture profiles for 100% of transactions. profilesSampleRate: 1.0, + // Adds more context data to events (IP address, cookies, user, etc.) + // For more information, visit: https://docs.sentry.io/platforms/react-native/data-management/data-collected/ + sendDefaultPii: true, }); ``` diff --git a/docs/platforms/react-native/manual-setup/expo.mdx b/docs/platforms/react-native/manual-setup/expo.mdx index 74669c7100b1c4..bfd77fd573bed2 100644 --- a/docs/platforms/react-native/manual-setup/expo.mdx +++ b/docs/platforms/react-native/manual-setup/expo.mdx @@ -80,6 +80,9 @@ Sentry.init({ // profilesSampleRate is relative to tracesSampleRate. // Here, we'll capture profiles for 100% of transactions. profilesSampleRate: 1.0, + // Adds more context data to events (IP address, cookies, user, etc.) + // For more information, visit: https://docs.sentry.io/platforms/react-native/data-management/data-collected/ + sendDefaultPii: true, }); function App() {