Installation
Step 1: Import Javascript CDN
Import the script in your index html file. Add the following script tag to the head section of your index.html file.
Step 2: Initialize the SDK
Create your application from installation instruction (Doc link: https://[account].middleware.io/installation#rum/javascript), Place this method just below the initialize script tag in the head section of your index.html file. We have env and recording options available with the script.
To add user related information in the RUM data you can pass that data with RUM configuration as below (Here name and email both are fixed parameters),