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