|
@@ -122,6 +122,17 @@ class Analytics {
|
122
|
122
|
if (group) {
|
123
|
123
|
permanentProperties.group = group;
|
124
|
124
|
}
|
|
125
|
+ /**
|
|
126
|
+ * optionally include local deployment information,
|
|
127
|
+ * window.jitsiDeploymentInfo defined outside of application
|
|
128
|
+ * to use, override contents in local.html
|
|
129
|
+ **/
|
|
130
|
+ if (window.jitsiDeploymentInfo) {
|
|
131
|
+ for (var key in window.jitsiDeploymentInfo) {
|
|
132
|
+ permanentProperties[key]
|
|
133
|
+ = window.jitsiDeploymentInfo[key];
|
|
134
|
+ }
|
|
135
|
+ }
|
125
|
136
|
|
126
|
137
|
analytics.addPermanentProperties(permanentProperties);
|
127
|
138
|
analytics.setAnalyticsHandlers(handlers);
|