aa-tracker
v1.0.55
Published
前端监控后端接口响应以及数据的上报
Downloads
34
Readme
tracker
这是一个埋点SDK This is a buried SDK
使用方法如下 The usage is as follows
import tracker from 'aa-tracker'
tracker.set({
requestUrl:"xxxxxx", // 上报地址 POST
xhrTracker: true, // 接口上报
xhrOption: { // 接口上报配置
duration: 1000 // 请求响应时长超过1000ms
},
headers: {} // 验证
})