Merge pull request #2140 from virtuacoplenny/lenny/ie11-analytics
fix(analytics): use string concatenation for ie11
This commit is contained in:
commit
b838a2be05
|
@ -27,8 +27,11 @@
|
||||||
value = value ? Math.round(parseFloat(value)) : null;
|
value = value ? Math.round(parseFloat(value)) : null;
|
||||||
const label = data.label || '';
|
const label = data.label || '';
|
||||||
|
|
||||||
ga('send', 'event', 'jit.si',
|
// Intentionally use string concatenation as analytics needs to work on
|
||||||
`${action}.${data.browserName}`, label, value);
|
// IE but this file does not go through babel.
|
||||||
|
// eslint-disable-next-line prefer-template
|
||||||
|
ga('send', 'event', 'jit.si', action + '.' + data.browserName,
|
||||||
|
label, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof ctx.JitsiMeetJS === 'undefined') {
|
if (typeof ctx.JitsiMeetJS === 'undefined') {
|
||||||
|
|
Loading…
Reference in New Issue