Skip to content

Commit

Permalink
feat(replay): Update docs to be more explicit about Replays across mu…
Browse files Browse the repository at this point in the history
…ltile pageloads (#7779)

* feat(replay): Update docs to be more explicit about Replays across multile pageloads

* Update src/docs/product/session-replay/index.mdx

Co-authored-by: Michelle Zhang <56095982+michellewzhang@users.noreply.github.com>

* Update src/platforms/javascript/common/session-replay/index.mdx

Co-authored-by: Michelle Zhang <56095982+michellewzhang@users.noreply.github.com>

---------

Co-authored-by: Michelle Zhang <56095982+michellewzhang@users.noreply.github.com>
  • Loading branch information
ryan953 and michellewzhang committed Sep 8, 2023
1 parent 43ad678 commit 0e9410d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/docs/product/session-replay/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Replays are integrated with other areas of the Sentry product so you can see how

## What is a Replay?

A replay is **not** a video recording. It’s a video-like reproduction of a user session, built using the  [rrweb recording library](https://www.rrweb.io/). Replays are created from snapshots of your web application’s DOM state (the browser’s in-memory representation of HTML). A user session can span multiple page loads, including page refreshes.
A replay is **not** a video recording. It’s a video-like reproduction of a user session, built using the [rrweb recording library](https://www.rrweb.io/). Replays are created from snapshots of your web application’s DOM state (the browser’s in-memory representation of HTML). When each snapshot is played back, you will see a video-like recording of what the user did throughout their entire session. The user session includes any pageloads, refreshes, and navigations that happened while the user was on your site.

![Session Replay User Interface](session-replay-what-is-a-replay.png)

Expand Down
3 changes: 2 additions & 1 deletion src/platforms/javascript/common/session-replay/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ child-src 'self' blob:

## User Session

A user session starts when the Session Replay SDK is first loaded and initialized. The session will continue until 5 minutes passes without any user interactions with the application **or** until a maximum of 60 minutes have elapsed. Closing the browser tab will end the session immediately, according to the rules for [SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage).
A user session starts when the Session Replay SDK is first loaded and initialized.
The session will capture any pageloads, refreshes, or navigations as long as the SDK is re-initialized on the same domain, and in the same browser tab, each time. Sessions continue capturing data until 5 minutes pass without any user interactions **or** until a maximum of 60 minutes have elapsed. Closing the browser tab will end the session immediately, according to the rules for [SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage).

<Note>

Expand Down

1 comment on commit 0e9410d

@vercel
Copy link

@vercel vercel bot commented on 0e9410d Sep 8, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs-git-master.sentry.dev
sentry-docs.sentry.dev
docs.sentry.io

Please sign in to comment.