Skip to content

@tripo3d/lens / index / AutoTrackOptions

Interface: AutoTrackOptions ​

Defined in: src/plugins/tracking/index.ts:34

自动采集选项;autoTrack:true 用全默认,传对象可细调(曝光字段由 ExposeCollectOptions 共享)

Extends ​

  • ExposeCollectOptions

Properties ​

PropertyTypeDescriptionInherited fromDefined in
exposeThreshold?number曝光阈值(默认 0.5)ExposeCollectOptions.exposeThresholdsrc/plugins/tracking/declarative-collector.ts:30
observeMutations?boolean是否观察动态新增的 expose 元素(默认 true)ExposeCollectOptions.observeMutationssrc/plugins/tracking/declarative-collector.ts:32
root?stringMutationObserver 观察根选择器(默认 document.body,收窄可降开销)ExposeCollectOptions.rootsrc/plugins/tracking/declarative-collector.ts:34
hashChange?booleanhash 变化计一次 PV / dwell-leave(默认 false)-src/plugins/tracking/index.ts:36
queryChange?booleanquery 变化计一次 PV / dwell-leave(默认 false)-src/plugins/tracking/index.ts:38

基于 MIT 协议发布(内部使用)