Sfoglia il codice sorgente

Moves analytics event for feedback to the library.

master
damencho 9 anni fa
parent
commit
e71cc30b3f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      modules/statistics/statistics.js

+ 1
- 0
modules/statistics/statistics.js Vedi File

469
 Statistics.prototype.sendFeedback = function(overall, detailed) {
469
 Statistics.prototype.sendFeedback = function(overall, detailed) {
470
     if(this.callstats)
470
     if(this.callstats)
471
         this.callstats.sendFeedback(overall, detailed);
471
         this.callstats.sendFeedback(overall, detailed);
472
+    Statistics.analytics.sendEvent('feedback.rating', overall);
472
 };
473
 };
473
 
474
 
474
 Statistics.LOCAL_JID = require("../../service/statistics/constants").LOCAL_JID;
475
 Statistics.LOCAL_JID = require("../../service/statistics/constants").LOCAL_JID;

Loading…
Annulla
Salva