How to enable Real User Monitoring (RUM)?

To enable Real User Monitoring (RUM), you need to install a beacon code into your HTML. Beacon code is a JavaScript code snippet that allows your website to perform certain tasks. 

VNIS beacon code serves two purposes:

  1. Project real user performance data of your domain to the Pulse chart.
  2. Improves the CDN optimization accuracy by feeding the real user performance data to the Smart Load Balancer.

Installing the Beacon code

Navigate to ‘ DEM’ > 'Pulse', and click the ‘Install beacon code’ button.

Copy all the content in the 'Beacon code' field, and paste it just before the </head> tag of your page.

Configuring your Beacon code

There are three things you can customize:

  1. Startup delay: the amount of time to wait to trigger the Beacon code after a user loads the page
  2. Repeat delay:  the amount of time to wait to re-trigger the Beacon code
  3. # of domains to measure: if you installed the Beacon code on multiple domains, you can set the maximum number of domains to measure, and the system will randomly pick domains based on your settings.

Before installing the beacon code to your website: You can see the RUM data is unavailable on the Pulse chart.

After installing the beacon code to your website: You can see the RUM data is available on the Pulse chart. The RUM data will also be used by the Smart Load Balancer to provide more accurate CDN optimization.