-
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
add filters to enable session recordings #2966
Comments
This makes sense to me, thanks for submitting! |
@macobo A combination of them all I would say :).
The above being said, having the ability to filter sessions based on certain criteria (e.g. includes a particular path or action) would also be an immensely powerful feature |
Thanks for sharing the context. Regarding uninteresting sessions - we'll be releasing #2595 next array which should help with both usecases you brought up. Storage space: Agreed. Here's what we have in mind:
Re security/trust: Agreed. Trying to do this on server-side is tricky due to prevalence of single-page apps. https://posthog.com/docs/features/session-recording#ignoring-sensitive-elements is another way of handling this, though perhaps we can improve the documentation further here. cc @yakkomajuri 🚀 |
Thanks for the quick response! FWIW, I had already seen and was able to find the docs on hiding sensitive elements with ease and it's great you folks had thought of it already. That being said, Its just a matter of convenience to be able to just disable recording on a particular page if needed rather than having to update code and deploy changes as I am sure you could imagine. Great work and thanks for this feature btw! |
This issue hasn't seen activity in 6 months. Is it still relevant? |
Another request today from users chat: #2966
|
This is actually doable now via feature flags @macobo. Users should default session recording to false and then conditionally call the method to enable it based on a feature flag. |
the method is |
This would be possible in posthog-js now by conditionally stopping and starting recordings from application code |
Is your feature request related to a problem?
it would be cool if we could restrict session recordings based on a url pattern or other such properties to avoid recordings on unwanted pages/sessions
Describe the solution you'd like
add filter options to enable session recording based on user/page properties
Describe alternatives you've considered
currently the workaround would be to disable session recordings via config on pages but that is quite a cumbersome process when you just want to enable the feature for a very specific set of pages
Additional context
Thank you for your feature request – we love each and every one!
The text was updated successfully, but these errors were encountered: