1.0.6 • Published 1 year ago

ai-platform-buried-library v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

js-buried

一个js埋点程序,用于设置PV和UV埋点,支持自定义埋点类型和埋点名称

Tips

PV: 进入项目中的页面(每次切换页面添加)

UV: 进入某个项目(进入项目时添加)

默认服务器请求地址:

云桌面环境:http://128.192.182.181:8000

其他环境:https://touch.ccb.com

如何使用

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'
});
1.0.6

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago