Skip to content

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

fix(analytics): use string concatenation for ie11

Leonard Kimc6b11ed55d25
diff --git a/analytics.js b/analytics.js
index fc399609ea..00db3f671d 100644
--- a/analytics.js
+++ b/analytics.js
@@ -27,8 +27,11 @@
value = value ? Math.round(parseFloat(value)) : null;
const label = data.label || '';
- ga('send', 'event', 'jit.si',
- `${action}.${data.browserName}`, label, value);
+ // Intentionally use string concatenation as analytics needs to work on
+ // IE but this file does not go through babel.
+ // eslint-disable-next-line prefer-template
+ ga('send', 'event', 'jit.si', action + '.' + data.browserName,
+ label, value);
};
if (typeof ctx.JitsiMeetJS === 'undefined') {