You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/traffic-manager/traffic-manager-create-rum-web-pages.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,15 @@ ms.author: greglin
15
15
16
16
# How to send Real User Measurements to Azure Traffic Manager using web pages
17
17
18
-
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.
18
+
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 a web page.
19
19
20
20
## Obtain a Real User Measurements key
21
21
22
22
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.
23
23
24
24
To obtain the RUM Key using Azure portal:
25
-
1. 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.
26
25
27
-
1. 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.
26
+
1. 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 are displayed.
28
27
29
28
1. In the Traffic Manager profile page, select **Real User Measurements** under **Settings**.
30
29
@@ -34,7 +33,7 @@ To obtain the RUM Key using Azure portal:
34
33
35
34
**Figure 1: Real User Measurements Key Generation**
36
35
37
-
1. The page now displays the RUM Key generated and a JavaScript code snippet that needs to be embedded into your HTML page.
36
+
1. The page now displays the generated RUM Key and a JavaScript code snippet that needs to be embedded into your HTML page.
38
37
39
38
:::image type="content" source="./media/traffic-manager-create-rum-web-pages/rum-javascript-code.png" alt-text="Screenshot of generated JavaScript code.":::
40
39
@@ -43,11 +42,11 @@ To obtain the RUM Key using Azure portal:
43
42
1. Select the **Copy** button to copy the JavaScript code.
44
43
45
44
> [!IMPORTANT]
46
-
> Use the generated JavaScript for Real User Measurements feature to function properly. Any changes to this script or the scripts used by Real User Measurements can lead to unpredictable behavior.
45
+
> Use the generated JavaScript for the Real User Measurements feature to function properly. Any changes to this script or the scripts used by Real User Measurements can lead to unpredictable behavior.
47
46
48
47
## Embed the code to an HTML web page
49
48
50
-
After you've obtained the RUM key, the next step is to embed this copied JavaScript into an HTML page that your end users visit. Editing HTML can be done in many ways and using different tools and workflows. This example shows how to update an HTML page to add this script. You can use this guidance to adapt it to your HTML source management workflow.
49
+
After you've obtained the RUM key, the next step is to embed this copied JavaScript into an HTML page that your end users visit. This example shows how to update an HTML page to add this script. You can use this guidance to adapt it to your HTML source management workflow.
51
50
52
51
1. Open the HTML page in a text editor.
53
52
@@ -59,7 +58,7 @@ After you've obtained the RUM key, the next step is to embed this copied JavaScr
59
58
60
59
1. Save the HTML file and host it on a webserver connected to the internet.
61
60
62
-
1.Next time this page will render on a web browser, the JavaScript referenced gets downloaded, and the script will execute the measurement and reporting operations.
61
+
1.The next time that this page will render on a web browser, the JavaScript referenced gets downloaded, and the script will execute the measurement and reporting operations.
63
62
64
63
## Next steps
65
64
- Learn more about [Real User Measurements](traffic-manager-rum-overview.md)
0 commit comments