Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(analytics): add 'websocket' property

paweldomas470c115e7ca6
diff --git a/react/features/analytics/functions.js b/react/features/analytics/functions.js
index 05a86f4f17..757ec5f911 100644
--- a/react/features/analytics/functions.js
+++ b/react/features/analytics/functions.js
@@ -95,6 +95,9 @@ export function initAnalytics({ getState }: { getState: Function }) {
permanentProperties.group = group;
}
+ // Report if user is using websocket
+ permanentProperties.websocket = navigator.product !== 'ReactNative' && typeof config.websocket === 'string';
+
// Optionally, include local deployment information based on the
// contents of window.config.deploymentInfo.
if (deploymentInfo) {