<script type="text/javascript" src="https://WTS_FQDN/wifimon/js/nettest/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="https://WTS_FQDN/wifimon/js/nettest/nettest-swfobject.js"></script>
<script type="text/javascript" src="https://WTS_FQDN/jsapi"></script>
<script type="text/javascript" id="settings" agentIp="xxx.xxx.xxx.xxx" testtool="NetTest" testServerLocation="LOCATION" imagesLocation="" cookieTimeInMinutes=""
src="https://WTS_FQDN/wifimon/js/nettest/runtests.js" defer></script>
xxx.xxx.xxx.xxx
"
with the IP address (or domain name) of the server where the WiFiMon agent is installed... id="settings" hostingWebsite="http" agentIp="xxx.xxx.xxx.xxx" ...
).
This will direct the measurements to the agent running on port 9000 (http).
<script type="text/javascript" src="https://WTS_FQDN/wifimon/js/boomerang/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" src="https://WTS_FQDN/wifimon/js/boomerang/boomerang.js"></script>
<script type="text/javascript" src="https://WTS_FQDN/wifimon/js/boomerang/bw.js"></script>
<script type="text/javascript" src="https://WTS_FQDN/wifimon/js/boomerang/rt.js"></script>
<script type="text/javascript" id="settings" agentIp="xxx.xxx.xxx.xxx" testtool="boomerang" testServerLocation="LOCATION" imagesLocation="" cookieTimeInMinutes=""
src="https://WTS_FQDN/wifimon/js/boomerang/boomerang-trigger.js" defer></script>
xxx.xxx.xxx.xxx
" with the IP
address (or domain name) of the server where the WiFiMon agent is installed... id="settings" hostingWebsite="http" agentIp="xxx.xxx.xxx.xxx" ...
). This will direct the measurements to the agent running on port 9000 (http).Step 1: Create the following proxy html page (if your website already includes the jquery.min.js skip the first script):
<!DOCTYPE html>
<html>
<head>
<title>Speed worker</title>
<script type="text/javascript" src="https://WTS_FQDN/wifimon/js/speedtest/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" id="settings" agentIp="xxx.xxx.xxx.xxx" testtool="speedtest" testServerLocation="LOCATION" cookieTimeInMinutes=""
src="https://WTS_FQDN/wifimon/js/speedtest/speedworker-post.js"></script>
</head>
<body>
</body>
</html>
Step 2: Embed the proxy html page in your website pages
<iframe src="path to proxy html page" style="visibility: hidden;"></iframe>
xxx.xxx.xxx.xxx
" with the IP
address (or domain name) of the server where the WiFiMon agent is installed... id="settings" hostingWebsite="http" agentIp="xxx.xxx.xxx.xxx" ...
). This will direct the measurements to the agent running on port 9000 (http).