Skip to content

changed the position of note #243

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

Merged
merged 3 commits into from
May 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion fern/docs/pages/sdks/web/ue-migration.mdx
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [EkLine]

Consider using 'customer' instead of 'RevUser'. (EK25033)

DevRev introduces the concept of a `RevUser` object for enhanced user identity management. Use this to associate sessions with users and attach properties. For more details, refer to the [DevRev user identity](https://developer.devrev.ai/sdks/web/user-identity).

Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@ ue.startRecording("<your_unique_app_id>")
```
</Tab>
<Tab title="Replace with PLuG">

<Callout intent="note">
To enable session recordings, go to **Settings** > **Support** > **Session Replays** and enable recordings for your desired platforms.
</Callout>

```jsx

window.plugSDK.init({
app_id: "<your_unique_app_id>",
enable_session_recording: true,
});
window.plugSDK.onEvent((payload) => {
if (payload.type === 'ON_OBSERVABILITY_READY') {
Expand Down
Loading