We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When disable_session_recording on the client is set to true, events are still sent to POST /e and POST /sessionRecording.
disable_session_recording
POST /e
POST /sessionRecording
Unclear why this happens, since we have a Cypress test testing for it, which passes.
Narrowed down to: https://github.com/PostHog/posthog-js/blob/master/src/extensions/sessionrecording.js#L39-L40 - L39 has a check for the flag, and emit=true should ensure this.snapshots aren't populated, but seems like L40 still gets them, and thus sends the events to the endpoint.
emit=true
this.snapshots
The text was updated successfully, but these errors were encountered:
This should be fixed in 1.10.2
1.10.2
Sorry, something went wrong.
@mariusandra Great, thank you!
neilkakkar
No branches or pull requests
When
disable_session_recording
on the client is set to true, events are still sent toPOST /e
andPOST /sessionRecording
.Unclear why this happens, since we have a Cypress test testing for it, which passes.
Narrowed down to: https://github.com/PostHog/posthog-js/blob/master/src/extensions/sessionrecording.js#L39-L40 - L39 has a check for the flag, and
emit=true
should ensurethis.snapshots
aren't populated, but seems like L40 still gets them, and thus sends the events to the endpoint.The text was updated successfully, but these errors were encountered: