diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a495d99..48ff4453 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to ## [Unreleased] +### Changed + +- 📈(frontend) track new recording's modes + ## [1.2.0] - 2026-01-05 ### Added diff --git a/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx b/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx index 8523abbd..dd139451 100644 --- a/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx +++ b/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx @@ -98,7 +98,10 @@ export const ScreenRecordingSidePanel = () => { await notifyParticipants({ type: NotificationType.ScreenRecordingStarted, }) - posthog.capture('screen-recording-started', {}) + posthog.capture('screen-recording-started', { + includeTranscript: includeTranscript, + language: selectedLanguageKey, + }) } } catch (error) { console.error('Failed to handle recording:', error) diff --git a/src/frontend/src/features/recording/components/TranscriptSidePanel.tsx b/src/frontend/src/features/recording/components/TranscriptSidePanel.tsx index 84ac9d9e..d608ab9a 100644 --- a/src/frontend/src/features/recording/components/TranscriptSidePanel.tsx +++ b/src/frontend/src/features/recording/components/TranscriptSidePanel.tsx @@ -117,7 +117,10 @@ export const TranscriptSidePanel = () => { await notifyParticipants({ type: NotificationType.TranscriptionStarted, }) - posthog.capture('transcript-started', {}) + posthog.capture('transcript-started', { + includeScreenRecording: includeScreenRecording, + language: selectedLanguageKey, + }) } } catch (error) { console.error('Failed to handle transcript:', error)