Skip to content

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

Adds browser name as parameter.

damenchoadb1b334415f
diff --git a/analytics.js b/analytics.js
index fb3e62de9e..656a5fec1e 100644
--- a/analytics.js
+++ b/analytics.js
@@ -10,13 +10,13 @@
ga('send', 'pageview');
}
- Analytics.prototype.sendEvent = function (action, data, label) {
+ Analytics.prototype.sendEvent = function (action, data, label, browserName) {
// empty label if missing value for it and add the value,
// the value should be integer or null
var value = Math.round(parseFloat(data));
ga('send', 'event', 'jit.si',
- action, label ? label : "", value ? value : null);
+ action + '.' + browserName, label ? label : "", value ? value : null);
};
ctx.Analytics = Analytics;