1.0.6 • Published 1 year ago
ai-platform-buried-library v1.0.6
js-buried
一个js埋点程序,用于设置PV和UV埋点,支持自定义埋点类型和埋点名称
Tips
PV: 进入项目中的页面(每次切换页面添加)
UV: 进入某个项目(进入项目时添加)
默认服务器请求地址:
云桌面环境:http://128.192.182.181:8000
如何使用
Install
- NPM:
ai-platform-buried-library
Import the module
import buried from 'ai-platform-buried-library';
Set a PV
buried.setPV();
Set a UV
buried.setUV();
custom buried
buried.setBuried({
eventID : 'number',
eventName : 'string',
eventType : 'string'
});