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