Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Adds optional label to statistics implementation.
damencho35f592bb2c7f
diff --git a/analytics.js b/analytics.jsindex 7dc8aed91a..fb3e62de9e 100644--- a/analytics.js+++ b/analytics.js@@ -10,11 +10,13 @@ga('send', 'pageview');}- Analytics.prototype.sendEvent = function (action, data) {- // empty label and add the value, the value should be integer or null+ Analytics.prototype.sendEvent = function (action, data, label) {+ // empty label if missing value for it and add the value,+ // the value should be integer or nullvar value = Math.round(parseFloat(data));- ga('send', 'event', 'jit.si', action, "", value ? value : null);+ ga('send', 'event', 'jit.si',+ action, label ? label : "", value ? value : null);};ctx.Analytics = Analytics;