UserExperior migration
The DevRev PLuG SDK serves as a direct replacement for the legacy UserExperior Web SDK. This section outlines the steps to facilitate a seamless migration from UserExperior to DevRev PLuG.
NPM package support is discontinued.
Installation
Update your script tags as shown to migrate successfully to the DevRev PLuG SDK.
UserExperior implementation
Replace with PLuG
Initialization
Update your initialization code to work with the DevRev PLuG SDK, ensuring session recording is enabled and handling events appropriately.
UserExperior implementation
Replace with PLuG
Recording options
UserExperior implementation
Replace with PLuG
Masking
The same CSS classes from UserExperior are compatible with the DevRev PLuG SDK without modifications.
Specific HTML elements
To mask a div:
Input elements
To mask input text:
To completely block the input element:
These classes ensure elements are masked or blocked as required.
User identification
UserExperior implementation
Replace with PLuG
Logging custom events
This approach facilitates custom event tracking, similar to the process in UserExperior, with additional capabilities.
UserExperior implementation
Replace with PLuG
For more details, see the Track events.
Session attributes (User properties)
UserExperior allowed setting session-level properties but didn’t have a global user object. DevRev utilizes the RevUser
object and addSessionProperties()
for enhanced functionality.
For setting user properties, refer to the User Identification.
UserExperior implementation
Replace with PLuG
Restart a session
Terminate the current session recording and start a new one.