Skip to content

Commit b57b421

Browse files
Overmind enabled tracking
1 parent f199b12 commit b57b421

File tree

1 file changed

+4
-0
lines changed
  • packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments

1 file changed

+4
-0
lines changed

packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
PreferenceContainer,
99
PaddedPreference,
1010
} from '../elements';
11+
import track from '@codesandbox/common/lib/utils/analytics';
1112

1213
const windowWithOvermind: {
1314
useOvermind?: (val?: boolean) => 'true' | null;
@@ -41,6 +42,9 @@ export function Experiments() {
4142
setValue={val => {
4243
windowWithOvermind.useOvermind(val);
4344
setUsingOvermind(val);
45+
track('Overmind Enabled', {
46+
enabled: val,
47+
});
4448
}}
4549
/>
4650
<SubDescription>

0 commit comments

Comments
 (0)