From 9c855e36a90d93bcd9a698530cdb63dffe68b85f Mon Sep 17 00:00:00 2001 From: Hetu Nandu Date: Fri, 6 Jun 2025 14:19:26 +0530 Subject: [PATCH] chore: reduce mixpanel recording sessions (#40881) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description We are reducing the amount of sessions that get recorded on Mixpanel https://docs.mixpanel.com/docs/session-replay/implement-session-replay/session-replay-web#sampling /test Sanity ## Summary by CodeRabbit - **Chores** - Reduced the percentage of session recordings captured for analytics from 100% to 50%. > [!IMPORTANT] > 🟣 🟣 🟣 Your tests are running. > Tests running at: > Commit: 5b875fb848e58cad2f2b55f1f40cf2e54ec3a5b4 > Workflow: `PR Automation test suite` > Tags: `@tag.Sanity` > Spec: `` >
Fri, 06 Jun 2025 06:51:16 UTC --- app/client/src/utils/Analytics/mixpanel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/src/utils/Analytics/mixpanel.ts b/app/client/src/utils/Analytics/mixpanel.ts index 800c26fb40..9873b3685e 100644 --- a/app/client/src/utils/Analytics/mixpanel.ts +++ b/app/client/src/utils/Analytics/mixpanel.ts @@ -44,7 +44,7 @@ class MixpanelSingleton { if (mixpanel.enabled) { this.mixpanel = loadedMixpanel; this.mixpanel.init(mixpanel.apiKey, { - record_sessions_percent: 100, + record_sessions_percent: 50, record_block_selector: mask ? ".mp-block" : "", record_mask_text_selector: mask ? ".as-mask" : "", });