Open source video conferencing app powered by LiveKit. Built with Django and React.
📈(frontend) add analytics tracking for connection events
lebaudantoineef4dcf57b078
diff --git a/src/frontend/src/features/rooms/livekit/hooks/useConnectionObserver.ts b/src/frontend/src/features/rooms/livekit/hooks/useConnectionObserver.tsindex 6042d0db..740ca78c 100644--- a/src/frontend/src/features/rooms/livekit/hooks/useConnectionObserver.ts+++ b/src/frontend/src/features/rooms/livekit/hooks/useConnectionObserver.ts@@ -18,6 +18,7 @@ export const useConnectionObserver = () => {// total session duration from first connect to final disconnect.if (connectionStartTimeRef.current != null) returnconnectionStartTimeRef.current = Date.now()+ posthog.capture('connection-event')}const handleReconnect = () => {