-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Need advanced feature for attribute selectors #3047
Comments
Thanks for your request @moonrailgun! This would certainly be very helpful. Adding it to our improvements for core analytics EPIC. |
This issue hasn't seen activity in 6 months. Is it still relevant? |
Well I think we've seen this come up every now and again with newer users of the product. Perhaps worth keeping in the backburner. |
This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the |
This issue was closed due to lack of activity. Feel free to reopen if it's still relevant. |
Is your feature request related to a problem?
Hi, our project need advanced feature about attribute selectors,
just like
a[href*="example"]
a[href$=".org"]
a[href^="www"]
a[class~="logo"]
Describe the solution you'd like
In source code https://github.com/PostHog/posthog/blob/master/posthog/models/event.py, yours looks like just support simple feature like
a[href="example"]
,But in some case, we would like to find following data like
data-tracker="login-form-submit"
anddata-tracker="login-form-reset"
by only filtering it withbutton[data-tracker^="login-form"]
Describe alternatives you've considered
Additional context
Just think is any performance problem for SQL? I have no idea about it
Related link: https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors
Thank you for your feature request – we love each and every one!
The text was updated successfully, but these errors were encountered: