PostHogAutocaptureOptions
Properties
| Name | Type |
|---|---|
captureTouches | boolean |
Enable autocapture of touch events | |
customLabelProp | string |
Custom prop name used to label elements for autocapture | |
noCaptureProp | string |
Prop name used to prevent autocapture on an element and its children | |
maxElementsCaptured | number |
Maximum number of elements to capture in the component tree hierarchy | |
ignoreLabels | string[] |
List of element labels to ignore during autocapture | |
propsToCapture | string[] |
List of prop names to capture from elements | |
captureScreens | boolean |
Capture the screen name (or route name) and properties Only used for expo-router, | |
navigation | PostHogAutocaptureNavigationTrackerOptions |
Used for mutating the screen name and properties Only used if captureScreens is true | |
navigationRef | PostHogNavigationRef |
If you create a navigation ref with createNavigationContainerRef, you need to pass the navigation ref
Only used for expo-router and
Deprecated: this is deprecated since it didn't work as expected, check out the | |