Connecting Esri Survey123 and Ookla® Speedtest®
Collect information about connection speeds including location and user provided details via Survey123 and use Speedtest to automatically measure speeds.
Demo
Technologies Used
Esri Survey123
- Blog: Introducing the Survey123 Web App JavaScript API
- Survey123WebFormOptions
- Example form as Survey123Connect excel file
Ookla Speedtest Custom Premium Subscription
- Speedtest Custom
- Embed Your Test on Your Website
- Hosting the HTML5 front-end Test UI on your site
- Passing Test Results To The Browser
- Storing STC results using Javascript
Deploy
This demo is built as a static web application.
1 - Download and copy the root folder to a web accessible location
2 - Update the configuration parameters in ./config/application.json
Configure
Update the application.json file in your favorite json editor:
parameter | details |
---|---|
portalUrl | Organization or Enterprise URL; example: https://www.arcgis.com |
clientId | The client ID is a string that proves that you have explicitly authorized the use of Survey123 web app API from your web page. You can create the Client ID through the https://developers.arcgis.com/ website, or via the web application item page, 'Settings' tab, 'App Registration' section. |
itemId | This is the ArcGIS item ID of your Survey123 web form. |
surveyInternetQuestion | The Survey123 question name that triggers the SpeedTest form. |
ooklaUrl | This is the custom Ookla test url configured at https://account.speedtestcustom.com/login REQUIRED
|
redirectOnSubmitUrl | The application will redirect to this URL on form submission |
Survey123 question names & Speedtest parameters
QUESTION NAME | PARAMETER |
---|---|
downloadSpeed | data.download |
uploadSpeed | data.upload |
ping | data.latency.minimum |
jitter | data.latency.jitter |
TODO
- No OAuth authentication implemented.
- REQUIRED: All ArcGIS Online items must be shared publicly.
Contacts
this link to contact us about this demo.
Please useFor questions about Survey123 or broadband connectivity:
Patrick Ryan | Solution Engineer, Science-Civilian | Geospatial Center
Esri | 8615 Westwood Center Drive | Vienna, VA 22182 | USA
T 703 506 9515 x5070 | M 703 973 9600 | pryan@esri.com | esri.com
For questions about the JavaScript web application:
John Grayson | Prototype Specialist | Geo Experience Center
Esri | 380 New York St | Redlands, CA 92373 | USA
T 909 793 2853 x1609 | jgrayson@esri.com | GeoXC Demos | esri.com