Compare commits

...

13 Commits

Author SHA1 Message Date
Aaron van Meerten
20b597abda Merge branch 'analytics_include_region_info' of github.com:jitsi/jitsi-meet into analytics_include_region_info 2017-05-23 15:01:18 -05:00
Aaron van Meerten
e68be6fa84 assign isn’t supported, so do a for loop 2017-05-23 15:00:42 -05:00
Aaron van Meerten
44d75b5253 add new local file for inclusion via ssi, intended for local variables describing the server
change analytics to pull from new collection jitsiAnalyticsPermanentProperties, which is to be user-defined via javascript in local.html
2017-05-23 15:00:42 -05:00
Aaron van Meerten
440865f3ca missing assignments
lots of line breaks for coding style
2017-05-23 15:00:42 -05:00
Aaron van Meerten
e91c62142d fixed trailing comma 2017-05-23 15:00:42 -05:00
Aaron van Meerten
1a892a689e moved to explicit assignment of properties from jitsiRegionInfo
removed no longer needed jshint ignore statement
2017-05-23 15:00:42 -05:00
Aaron van Meerten
04851b4baa 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
2017-05-23 15:00:42 -05:00
Aaron van Meerten
beec60be47 assign isn’t supported, so do a for loop 2017-05-23 14:59:02 -05:00
Aaron van Meerten
36d40cdec9 add new local file for inclusion via ssi, intended for local variables describing the server
change analytics to pull from new collection jitsiAnalyticsPermanentProperties, which is to be user-defined via javascript in local.html
2017-05-23 14:49:34 -05:00
Aaron van Meerten
5be3504fad missing assignments
lots of line breaks for coding style
2017-05-23 09:50:14 -05:00
Aaron van Meerten
bc9ef4421a fixed trailing comma 2017-05-23 09:37:06 -05:00
Aaron van Meerten
4ffe668dd2 moved to explicit assignment of properties from jitsiRegionInfo
removed no longer needed jshint ignore statement
2017-05-23 09:26:49 -05:00
Aaron van Meerten
3cc4d44376 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
2017-05-22 14:40:18 -05:00
3 changed files with 7 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--#include virtual="base.html" -->
<!--#include virtual="local.html" -->
<script>
window.indexLoadedTime = window.performance.now();
console.log("(TIME) index.html loaded:\t", indexLoadedTime);

0
local.html Normal file
View File

View File

@@ -122,6 +122,12 @@ class Analytics {
if (group) {
permanentProperties.group = group;
}
if (window.jitsiAnalyticsPermanentProperties) {
for (var key in window.jitsiAnalyticsPermanentProperties) {
permanentProperties[key]
= window.jitsiAnalyticsPermanentProperties[key];
}
}
analytics.addPermanentProperties(permanentProperties);
analytics.setAnalyticsHandlers(handlers);