Skip to content

Commit eedfb0d

Browse files
bruno-garciabillyvglizokm
authored
replay(options): point out how to opt-in for text if safe (#8531)
Co-authored-by: Billy Vong <billyvg@users.noreply.github.com> Co-authored-by: Liza Mock <liza.mock@sentry.io>
1 parent 02b35fd commit eedfb0d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/platform-includes/replay/privacy-configuration/javascript.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
The following options can be configured as options to the integration, in `new Replay({})`:
1+
If you're working on a static website that's free of personal identifiable or other type of private data,
2+
you can opt out of the default text masking and image blocking by configuring the `maskAllText` and `blockAllMedia` configuration options respectively:
3+
4+
```javascript
5+
new Sentry.Replay({
6+
maskAllText: false,
7+
blockAllMedia: false,
8+
});
9+
```
10+
11+
The following is a complete list of options that can be used in `new Replay({})`:
212

313
| key | type | default | description |
414
| ------------- | -------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

0 commit comments

Comments
 (0)