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

Manually start and stop session recordings #262

Open
4 tasks
ioannisj opened this issue Nov 25, 2024 · 2 comments · May be fixed by #276
Open
4 tasks

Manually start and stop session recordings #262

ioannisj opened this issue Nov 25, 2024 · 2 comments · May be fixed by #276
Labels
enhancement New feature or request Session Replay

Comments

@ioannisj
Copy link
Contributor

ioannisj commented Nov 25, 2024

Description

Ticket: https://posthoghelp.zendesk.com/agent/tickets/20809

Add APIs to allow for manual start/stop of session recordings

https://github.com/PostHog/posthog-js/blob/1b57ea9f6b7736f3e3fce0fd512b467ddb35c5d9/src/posthog-core.ts#L1837

This option is an alternative for:

@ioannisj ioannisj added enhancement New feature or request Session Replay labels Nov 25, 2024
@marandaneto
Copy link
Member

@ioannisj Android and RN as well, you can add the checklist and associate with the GH projects

@marandaneto
Copy link
Member

A workaround for this is to call optOut() when you want to stop recording and optIn() when you want to resume recording, the only problem is that this also stops events from being captured (prod. analytics), so ideally we'd add a new method to start/stop session recording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Session Replay
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants