Support capturing data attributes using data-ph-capture-attribute
#217
Labels
Autocapture
enhancement
New feature or request
help wanted
Extra attention is needed
Product Analytics
react-native
Is your feature request related to a problem?
Yes
Describe the solution you'd like
I would like to be able to capture data attributes alongside my autocapture event. The documentation already mentions it and it is available in the
posthog-js
library but not in the react native library.Describe alternatives you've considered
An alternative is to not use autocapture, but instead manually capture an event and add additional properties as an object, but I prefer to stay consistent where I use autocapture for events clicks with and without data
Related sub-libraries
The text was updated successfully, but these errors were encountered: