var tracker = new window.Tracker({uidResolver: function() { // 具体获取userId 逻辑自行实现 return "7ebe5d19c451332bc43c434b82880821"; }, pid:punish-page, plugins: [[window.interfaceTrackerPlugin],[window.performanceTrackerPlugin, { sampleRate: 1 }]] });tracker.install(); tracker.log({ code: 11, // 系统自动生成,请勿修改 100% c1:7ebe5d19c451332bc43c434b82880821, msg: ICBU Captcha 页面, //异常信息,推荐传入 sampleRate: 1.00, // 目前采样率为 100.00% }); tracker.log({code: 12, msg: host收集, // 异常信息,推荐传入 sampleRate: 1.00, // 目前采样率为100.00% c1: www..com:443, // nashweb_host c2: location.origin });