@tripo3d/lens / index / AutoTrackOptions
Interface: AutoTrackOptions
Defined in: src/plugins/tracking/index.ts:34
自动采集选项;autoTrack:true 用全默认,传对象可细调(曝光字段由 ExposeCollectOptions 共享)
Extends
ExposeCollectOptions
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
exposeThreshold? | number | 曝光阈值(默认 0.5) | ExposeCollectOptions.exposeThreshold | src/plugins/tracking/declarative-collector.ts:30 |
observeMutations? | boolean | 是否观察动态新增的 expose 元素(默认 true) | ExposeCollectOptions.observeMutations | src/plugins/tracking/declarative-collector.ts:32 |
root? | string | MutationObserver 观察根选择器(默认 document.body,收窄可降开销) | ExposeCollectOptions.root | src/plugins/tracking/declarative-collector.ts:34 |
hashChange? | boolean | hash 变化计一次 PV / dwell-leave(默认 false) | - | src/plugins/tracking/index.ts:36 |
queryChange? | boolean | query 变化计一次 PV / dwell-leave(默认 false) | - | src/plugins/tracking/index.ts:38 |