Embed the Internet Analyzer client
Before you begin
Internet Analyzer requires access to Azure and other Microsoft services to function correctly. Please allow network access to
fpc.msedge.net and any preconfigured endpoint URLs (visible through CLI) before embedding the client.
Find the client script URL
The script URL can be found either through the Azure portal or the Azure CLI after a test has been configured. For more information, see Create an Internet Analyzer Resource.
Option 1. In the Azure portal, use this link to open the preview portal page for Azure Internet Analyzer. Navigate to your Internet Analyzer profile to see the script URL by going to Settings > Configuration.
Option 2. Using the Azure CLI, check the
az extension add --name internet-analyzer az internet-analyzer test list --resource-group "MyInternetAnalyzerResourceGroup" --profile-name "MyInternetAnalyzerProfile"
The script is generated specifically for your profile and tests. After being loaded, the script will execute on a 2-second delay. First it contacts the Internet Analyzer service to fetch the list of endpoints configured in your tests. It then runs the measurements and uploads the timed results back to the Internet Analyzer service.
0bfcb32638b44927935b9df86dcfe397 as an example profile ID for the script URL.
Run on page load
The simplest method is to use the script tag inside the meta tag block. This tag will execute the script once per page load.
<html> <meta> <script src="//fpc.msedge.net/client/v2/0bfcb32638b44927935b9df86dcfe397/ab.min.js"></script> </meta> <body></body> </html>
Read the Internet Analyzer FAQ