ibc-monitor-point
v0.0.13
Published
## 安装
Downloads
52
Readme
银企汇埋点SDK IbcPointSDK
安装
YARN
$ yarn add ibc-monitor-point
NPM
$ npm install ibc-monitor-point --save
CDN
目前可以通过unpkg.com/ibc-monitor-point获取到最新版本的资源,在页面上使用 script 标签直接引入文件即可开始使用
<script src="https://unpkg.com/ibc-monitor-point/dist/ibc-monitor-point.umd.min.js"></script>
或者
<script src="https://cdn.jsdelivr.net/npm/ibc-monitor-point/dist/ibc-monitor-point.umd.min.js"></script>
使用方法
import IbcPointSDK from 'ibc-monitor-point'
Vue.use(IbcPointSDK, {
appKey: "11aa22bb33cc44",
interval: 30
});
参数说明:
- appKey: 前端应用唯一标识
- interval: 埋点交易间隔发送时间(可以不设置,默认30秒)