|
|
@@ -4,7 +4,7 @@ function NoopAnalytics() {}
|
|
4
|
4
|
NoopAnalytics.prototype.sendEvent = function () {};
|
|
5
|
5
|
|
|
6
|
6
|
function AnalyticsAdapter() {
|
|
7
|
|
- this.browserActionSuffix = '.' + RTCBrowserType.getBrowserName();
|
|
|
7
|
+ this.browserName = RTCBrowserType.getBrowserName();
|
|
8
|
8
|
}
|
|
9
|
9
|
|
|
10
|
10
|
// some events may happen before init or implementation script download
|
|
|
@@ -35,7 +35,7 @@ AnalyticsAdapter.prototype.sendEvent = function (action, data, label) {
|
|
35
|
35
|
}
|
|
36
|
36
|
try {
|
|
37
|
37
|
this.analytics.sendEvent(
|
|
38
|
|
- action + this.browserActionSuffix, data, label);
|
|
|
38
|
+ action, data, label, this.browserName);
|
|
39
|
39
|
} catch (ignored) {}
|
|
40
|
40
|
};
|
|
41
|
41
|
|