您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

AnalyticsAdapter.js 866B

123456789101112131415161718
  1. /* global config, JitsiMeetJS */
  2. // Load the integration of a third-party analytics API such as Google Analytics.
  3. // Since we cannot guarantee the quality of the third-party service (e.g. their
  4. // server may take noticeably long time to respond), it is in our best interest
  5. // (in the sense that the intergration of the analytics API is important to us
  6. // but not enough to allow it to prevent people from joining a conference) to
  7. // download the API asynchronously. Additionally, Google Analytics will download
  8. // its implementation asynchronously anyway so it makes sense to append the
  9. // loading on our side rather than prepend it.
  10. if (config.disableThirdPartyRequests !== true) {
  11. JitsiMeetJS.util.ScriptUtil.loadScript(
  12. 'analytics.js?v=1',
  13. /* async */ true,
  14. /* prepend */ false);
  15. }
  16. export default JitsiMeetJS.analytics;