How to send Real User Measurements to Azure Traffic Manager using web pages
You can configure your web pages to send Real User Measurements to Traffic Manager by obtaining a Real User Measurements (RUM) key and embedding the generated code to web page.
Obtain a Real User Measurements key
The measurements you take and send to Traffic Manager from your client application gets identified by the service using a unique string, called the Real User Measurements (RUM) Key. You can get a RUM key by using the Azure portal, a REST API, PowerShell, or Azure CLI.
To obtain the RUM Key using Azure portal:
From a browser, sign in to the Azure portal. If you don’t already have an account, you can sign up for a free one-month trial.
In the portal’s search bar, search for the Traffic Manager profile name that you want to modify, and then select the Traffic Manager profile in the results that the displayed.
In the Traffic Manager profile page, select Real User Measurements under Settings.
Select Generate Key to create a new RUM Key.
Figure 1: Real User Measurements Key Generation
Embed the code to an HTML web page
Open the HTML page in a text editor.
Save the HTML file and host it on a webserver connected to the internet.