diff --git a/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx b/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx index b947fa46..659cc438 100644 --- a/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx +++ b/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx @@ -24,6 +24,7 @@ import { useNotifyParticipants, NotificationType, } from '@/features/notifications' +import posthog from 'posthog-js' export const ScreenRecordingSidePanel = () => { const [isLoading, setIsLoading] = useState(false) @@ -74,6 +75,7 @@ export const ScreenRecordingSidePanel = () => { await notifyParticipants({ type: NotificationType.ScreenRecordingStarted, }) + posthog.capture('screen-recording-started', {}) } } catch (error) { console.error('Failed to handle transcript:', error) @@ -124,7 +126,7 @@ export const ScreenRecordingSidePanel = () => {