Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support capturing data attributes using data-ph-capture-attribute #217

Open
1 task done
itsramiel opened this issue Apr 16, 2024 · 5 comments
Open
1 task done

Support capturing data attributes using data-ph-capture-attribute #217

itsramiel opened this issue Apr 16, 2024 · 5 comments
Labels

Comments

@itsramiel
Copy link

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

  • posthog-react-native
@marandaneto
Copy link
Member

@itsramiel thanks for the issue.
Do you mean this right?

@itsramiel
Copy link
Author

@marandaneto yes, I think that is the same link I linked to

@marandaneto marandaneto added the help wanted Extra attention is needed label Apr 16, 2024
@marandaneto
Copy link
Member

@marandaneto yes, I think that is the same link I linked to

Oh, you are right, I clicked on it but probably looked at the wrong tab, the downside when you have N tabs :D

The logic would go here most likely and can be inspired by the JS bits.

Would you like to take a stab at it?

@marandaneto
Copy link
Member

Another request https://posthog.com/questions/auto-capture-1

@twicer-is-coder
Copy link

twicer-is-coder commented Sep 24, 2024

Still not implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants