var tracker = new window.Tracker({uidResolver: function() { // 具体获取userId 逻辑自行实现 return "a2b8d68117298ace961a6a8702997059"; }, pid:punish-page, plugins: [[window.interfaceTrackerPlugin],[window.performanceTrackerPlugin, { sampleRate: 1 }]] });tracker.install(); tracker.log({ code: 11, // 系统自动生成,请勿修改 100% c1:a2b8d68117298ace961a6a8702997059, 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 });