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): Implement sendFeedback method

hristoterezov71790b07b72e
diff --git a/analytics.js b/analytics.js
index 656a5fec1e..ebaf3d3329 100644
--- a/analytics.js
+++ b/analytics.js
@@ -19,5 +19,9 @@
action + '.' + browserName, label ? label : "", value ? value : null);
};
+ Analytics.prototype.sendFeedback = function (data, label, browserName) {
+ this.sendEvent('feedback.rating', data.overall, label, browserName);
+ };
+
ctx.Analytics = Analytics;
-}(window));
\ No newline at end of file
+}(window));