add jitsi regional information to all analytics events via permanent properties if available
ignore listing on modules/analytics/analytics.js to avoid es6 linting errors
This commit is contained in:
parent
23fea490aa
commit
04851b4baa
|
@ -16,6 +16,7 @@ react/
|
||||||
# The following are checked by ESLint with the minimum configuration which does
|
# The following are checked by ESLint with the minimum configuration which does
|
||||||
# not supersede JSHint but take advantage of advanced language features such as
|
# not supersede JSHint but take advantage of advanced language features such as
|
||||||
# Facebook Flow which are not supported by JSHint.
|
# Facebook Flow which are not supported by JSHint.
|
||||||
|
modules/analytics/analytics.js
|
||||||
modules/translation/translation.js
|
modules/translation/translation.js
|
||||||
|
|
||||||
analytics.js
|
analytics.js
|
||||||
|
|
|
@ -111,7 +111,8 @@ class Analytics {
|
||||||
handlers => {
|
handlers => {
|
||||||
const permanentProperties = {
|
const permanentProperties = {
|
||||||
roomName: APP.conference.roomName,
|
roomName: APP.conference.roomName,
|
||||||
userAgent: navigator.userAgent
|
userAgent: navigator.userAgent,
|
||||||
|
...window.jitsiRegionInfo
|
||||||
};
|
};
|
||||||
|
|
||||||
const { group, server } = APP.store.getState()['features/jwt'];
|
const { group, server } = APP.store.getState()['features/jwt'];
|
||||||
|
|
Loading…
Reference in New Issue