Issue
I would like to understand how does replaysSessionSampleRate
and replaysOnErrorSampleRate
influence whether Session replay will be attached to a user feedback?
Applies To
- All SaaS Customers and Self-Hosted Users
- User Feedback
- Session Replay
Resolution
User feedback needs you to have replaysSessionSampleRate > 0
or replaysOnErrorSampleRate > 0
, because the Replay SDK will buffer up to 30 seconds of the user's session until the user opens the User Feedback widget.
If you would like to not use session replay in general, but only for your user feedback, then you can set replaysSessionSampleRate: 0
, replaysOnErrorSampleRate:
0
, and manually call replay.startBuffering()
.