From 5dd8dd723939274289624c9371d7f739e74bb825 Mon Sep 17 00:00:00 2001 From: markzegarelli Date: Tue, 24 Sep 2024 09:55:24 -0700 Subject: [PATCH 1/2] DOC-268 masking update --- .../en/manage-privacy-settings-for-session-replay.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/collections/session-replay/en/manage-privacy-settings-for-session-replay.md b/content/collections/session-replay/en/manage-privacy-settings-for-session-replay.md index 4f635010f..32d23396d 100644 --- a/content/collections/session-replay/en/manage-privacy-settings-for-session-replay.md +++ b/content/collections/session-replay/en/manage-privacy-settings-for-session-replay.md @@ -55,6 +55,10 @@ When you **exclude** an element using CSS selectors, Amplitude replaces the elem {{/partial:tabs}} +{{partial:admonition type="tip" heading="Avoid site performance issues with masking"}} +If you experience site performance degredation due to the number of masking rules you create, Amplitude recommends excluding content, rather than masking it. +{{/partial:admonition}} + ## How Session Replay resolves conflicts between the SDK and the UI When there are conflicts between the SDK and the Session Replay settings page around the handling of a particular element—whether Amplitude should mask, unmask, or exclude it—the **Session Replay settings page takes precedence**. From 079609603cf4c9a7af6c4564fe927b0359b325aa Mon Sep 17 00:00:00 2001 From: markzegarelli Date: Tue, 24 Sep 2024 12:34:01 -0700 Subject: [PATCH 2/2] DOC-268 updated based on feedback --- .../en/manage-privacy-settings-for-session-replay.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/collections/session-replay/en/manage-privacy-settings-for-session-replay.md b/content/collections/session-replay/en/manage-privacy-settings-for-session-replay.md index 32d23396d..4d17aac57 100644 --- a/content/collections/session-replay/en/manage-privacy-settings-for-session-replay.md +++ b/content/collections/session-replay/en/manage-privacy-settings-for-session-replay.md @@ -56,7 +56,9 @@ When you **exclude** an element using CSS selectors, Amplitude replaces the elem {{/partial:tabs}} {{partial:admonition type="tip" heading="Avoid site performance issues with masking"}} -If you experience site performance degredation due to the number of masking rules you create, Amplitude recommends excluding content, rather than masking it. +If you experience a decrease ion site performance due to the number of [masking](/docs/session-replay/session-replay-standalone-sdk#mask-on-screen-data) rules you create, Amplitude recommends excluding or blocking content with the `.amp-block` class, rather than masking it. + +Blocking or excluding content replaces the element with a placeholder of the same dimensions. {{/partial:admonition}} ## How Session Replay resolves conflicts between the SDK and the UI