visual-buried-point-platform-h5 2.0.2 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/cjs/buried-point-h5.js +43 -1
- package/dist/esm/buried-point-h5.js +43 -1
- package/dist/umd/buried-point-h5.js +43 -1
- package/package.json +15 -7
package/README.md
CHANGED
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
- v1.3.5 上报数据结构增加url;
|
|
12
12
|
- v1.3.6 调整上报数据结构circulation和duration计算规则;
|
|
13
13
|
- v2.0.0 调整SDK内部PVUV采集模式,分原有start方法采集及自动采集,支持获取埋点sdk内的跟踪ID;【详见1,3,4,7,10】
|
|
14
|
+
- v2.0.1 解决pv采集在不同端上问题,增加utm渠道采集;
|
|
15
|
+
- v2.0.2 优化startTrack采集duration取值规则;
|
|
16
|
+
- v2.0.3 解决path过长取值规则和优化utm取值;
|
|
17
|
+
- v2.0.4 增加buriedConfigData配置优化加载埋点配置表数据;
|
|
14
18
|
|
|
15
19
|
|
|
16
20
|
### 1.基本原理
|
|
@@ -90,8 +94,10 @@ export const buriedPoint = new BuriedPointH5({
|
|
|
90
94
|
iosToken: null,
|
|
91
95
|
// 是否兼容已埋点方案,true兼容(业务方需调用start方法采集PV流量),false不兼容(SDK内部自动采集,但前提业务方需要预置参数)
|
|
92
96
|
isCompatible: true
|
|
93
|
-
// 需要单独采集的页面path,设置isCompatible为false使用
|
|
94
|
-
signTrackPathArray: [
|
|
97
|
+
// 需要单独采集的页面path,设置isCompatible为false使用 例如:["/home", "/personal-auth"]
|
|
98
|
+
signTrackPathArray: [],
|
|
99
|
+
// 是否需要埋点配置表数据 默认false
|
|
100
|
+
buriedConfigAPI: false,
|
|
95
101
|
});
|
|
96
102
|
```
|
|
97
103
|
|