Skip to content
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