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

update start session recording instructions #9460

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Conversation

pauldambra
Copy link
Member

In this twitter thread https://x.com/pauldambra/status/1839600015137808631 we realised the docs aren't too helpful if you're running session replay with linked flags or sampling but want to start a recording manually

so, let's update them

Copy link

vercel bot commented Sep 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog ✅ Ready (Inspect) Visit Preview Sep 27, 2024 4:32pm

@pauldambra pauldambra requested review from ivanagas and a team September 27, 2024 13:42
Comment on lines 383 to 388
// if you use ingestion controls they still apply,
// you can pass override config to make sure the session starts
// even if your ingestion controls would not have allowed it
// so you could be sampling only 80% of sessions that match a particular linked flag
// and still start recording for the current session using
posthog.startSessionRecording({ linked_flag: true, sampling: true })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Instead of a paragraph of comments, we can just do a paragraph.
  2. It still is a bit confusing from this what the overrides do.

I'll take a crack at fixing this, think we need to adjust some of the surrounding information anyways.

Copy link
Contributor

@ivanagas ivanagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know what you think of this change :)

@pauldambra pauldambra merged commit c909e5e into master Sep 27, 2024
3 checks passed
@pauldambra pauldambra deleted the pauldambra-patch-6 branch September 27, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants