0.1.3 • Published 5 months ago
ns-track v0.1.3
ns-track
注入在页面上的埋点,用于统计页面的访问量、性能参数、网络请求、性能资源等数据埋点上报。
安装
$ npm install ns-track
配置
/* main.js */
...
import Vue from 'vue'
import NsTrack from "ns-track"
Vue.use(NsTrack, {
appCode: 'app-code',
global: false,
url: 'xxx/tracking_server/tracking/data/collection',
userInfo: {
...
}
})
...