From eedfb0d6c06776f81f74a9e7a704c3c84e41c423 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Mon, 20 Nov 2023 21:07:47 -0500 Subject: [PATCH] replay(options): point out how to opt-in for text if safe (#8531) Co-authored-by: Billy Vong Co-authored-by: Liza Mock --- .../replay/privacy-configuration/javascript.mdx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/platform-includes/replay/privacy-configuration/javascript.mdx b/src/platform-includes/replay/privacy-configuration/javascript.mdx index 30cfed0951e39..c355ade7d4ea0 100644 --- a/src/platform-includes/replay/privacy-configuration/javascript.mdx +++ b/src/platform-includes/replay/privacy-configuration/javascript.mdx @@ -1,4 +1,14 @@ -The following options can be configured as options to the integration, in `new Replay({})`: +If you're working on a static website that's free of personal identifiable or other type of private data, +you can opt out of the default text masking and image blocking by configuring the `maskAllText` and `blockAllMedia` configuration options respectively: + +```javascript +new Sentry.Replay({ + maskAllText: false, + blockAllMedia: false, +}); +``` + +The following is a complete list of options that can be used in `new Replay({})`: | key | type | default | description | | ------------- | -------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |