I am working on a research project where we are asking respondents to record where they see smoking or vaping on our university campus (we are a smoke-free campus) or where they see smoking/vaping-related litter. We are currently using a GIS-based data collection tool that collects the latitude and longitude of the device being used for the survey report. Is this something that can be done in Qualtrics? Is there a question type or metadata that accesses the device's location data? I would prefer to collect this data using Qualtrics if it will collect location data.
Thanks!!!!!
Allen Risley
GIS Specialist
Cal State University San Marcos
Thanks!!!!!
Allen Risley
GIS Specialist
Cal State University San Marcos
Page 1 / 1
Great news: Qualtrics should be doing this automatically for you!
https://www.qualtrics.com/support/survey-platform/data-and-analysis-module/data/download-data/understanding-your-dataset/
https://www.qualtrics.com/support/survey-platform/data-and-analysis-module/data/download-data/understanding-your-dataset/
Thanks for the reference link! I checked it out and found this passage:
"If the respondent completed the survey _using the Qualtrics Offline App _ on a GPS-enabled device, this data will be an accurate representation of the respondent’s location."
We can't expect our users to download the Qualtrics Offline App in order to fill out our survey - they will need to use the web interface on their phones. Just to confirm, does this mean that the GPS data will not be collected?
Thanks!
Allen
"If the respondent completed the survey _using the Qualtrics Offline App _ on a GPS-enabled device, this data will be an accurate representation of the respondent’s location."
We can't expect our users to download the Qualtrics Offline App in order to fill out our survey - they will need to use the web interface on their phones. Just to confirm, does this mean that the GPS data will not be collected?
Thanks!
Allen
Yes- apologies I guess I didn't read the article very closely. But the Metadata that is automatically collected using the web interface includes lattitude and longitude. Go ahead and try it out first- download the legacy data set and it will be waiting for you.
I will say that I believe it is collected off of ISP, so there are some limitations. But this is a limitation any method of location collection.
!
I will say that I believe it is collected off of ISP, so there are some limitations. But this is a limitation any method of location collection.
!
That's what I was afraid of, that ISP location data would be used. That data might be adequate when your survey has a broad geographic scope (statewide, national, etc.) but if the location data is more granular, say where differences in location of 50-100 feet is meaningful, then ISP-based location won't work. Here's what our end product looks like:
!
We're currently using Survey123 from Esri - it includes a map widget that can pull the lat/long from your mobile device. Our users are reporting locations of smoking and tobacco litter on our smallish campus. Unfortunately, Survey123 isn't accessible, hence my interest in Qualtrics, but we can't expect our users to download the Offline App
!
We're currently using Survey123 from Esri - it includes a map widget that can pull the lat/long from your mobile device. Our users are reporting locations of smoking and tobacco litter on our smallish campus. Unfortunately, Survey123 isn't accessible, hence my interest in Qualtrics, but we can't expect our users to download the Offline App
@arisley,
You can use JavaScript and the Geolocation API built into the browser. It will use a mobile device's GPS if available. Geolocator.js would probably make implementation easier.
You can use JavaScript and the Geolocation API built into the browser. It will use a mobile device's GPS if available. Geolocator.js would probably make implementation easier.
Thanks for the info Tom! Unfortunately I'm not a JavaScript programmer and I'm a bit new to Qualtrics. Does Qualtrics support calls to JavaScript inside a questionnaire?
> @arisley said:
> Thanks for the info Tom! Unfortunately I'm not a JavaScript programmer and I'm a bit new to Qualtrics. Does Qualtrics support calls to JavaScript inside a questionnaire?
Yes, you can add JavaScript to any question. Click the cog to the left of the question then Add JavaScript.
> Thanks for the info Tom! Unfortunately I'm not a JavaScript programmer and I'm a bit new to Qualtrics. Does Qualtrics support calls to JavaScript inside a questionnaire?
Yes, you can add JavaScript to any question. Click the cog to the left of the question then Add JavaScript.
@TomG
I'm dealing with this now, and think it's a serious bug for Qualtrics--if you can't know that the long/lat is accurate (and apparently when you use Chrome, it just isn't) then it seems a lot of data is compromised. Support was great, but ultimately couldn't do anything but lead me to this thread.
So I went to do the instructions above, but I have questions.
The instructions say:
* Link or download via CDNJS.
* Download full source code from GitHub releases.
* Install via Bower: bower install geolocator
* Install via NPM: npm install geolocator
Why, though? What do I need the above for? How do I use it?
And say I put the code from that page in the HTML of a question. What then? When I look at the data from some test responses, I don't see anything. So I'm missing steps.
Edit: oooooohhhhhhh man, this is sending me down a rabbit hole. I don't have a google api. I can't get one, because my google account is controlled by a University. I tried to put the code under Javascript in a Qualtrics question. It said I have a bad token. I just need to know where these people actually are, not the chrome server.
I'm dealing with this now, and think it's a serious bug for Qualtrics--if you can't know that the long/lat is accurate (and apparently when you use Chrome, it just isn't) then it seems a lot of data is compromised. Support was great, but ultimately couldn't do anything but lead me to this thread.
So I went to do the instructions above, but I have questions.
The instructions say:
* Link or download via CDNJS.
* Download full source code from GitHub releases.
* Install via Bower: bower install geolocator
* Install via NPM: npm install geolocator
Why, though? What do I need the above for? How do I use it?
And say I put the code from that page in the HTML of a question. What then? When I look at the data from some test responses, I don't see anything. So I'm missing steps.
Edit: oooooohhhhhhh man, this is sending me down a rabbit hole. I don't have a google api. I can't get one, because my google account is controlled by a University. I tried to put the code under Javascript in a Qualtrics question. It said I have a bad token. I just need to know where these people actually are, not the chrome server.
> @JanetMc said:
> @TomG
>
> I'm dealing with this now, and think it's a serious bug for Qualtrics--if you can't know that the long/lat is accurate (and apparently when you use Chrome, it just isn't) then it seems a lot of data is compromised. Support was great, but ultimately couldn't do anything but lead me to this thread.
>
> So I went to do the instructions above, but I have questions.
> The instructions say:
> * Link or download via CDNJS.
> * Download full source code from GitHub releases.
> * Install via Bower: bower install geolocator
> * Install via NPM: npm install geolocator
>
> Why, though? What do I need the above for? How do I use it?
> And say I put the code from that page in the HTML of a question. What then? When I look at the data from some test responses, I don't see anything. So I'm missing steps.
>
> Edit: oooooohhhhhhh man, this is sending me down a rabbit hole. I don't have a google api. I can't get one, because my google account is controlled by a University. I tried to put the code under Javascript in a Qualtrics question. It said I have a bad token. I just need to know where these people actually are, not the chrome server.
It's not a bug. It just isn't a feature. GeoIP location is sufficient for most Qualtrics users. You can post a Product Feature Request in the Product Ideas category of the Community.
You need to load the Geolocator JavaScript in your Qualtrics survey to make the geolocator functions available. You'll want to use the CDNJS option.
You can sign up for a private Google account and get an API key for it.
> @TomG
>
> I'm dealing with this now, and think it's a serious bug for Qualtrics--if you can't know that the long/lat is accurate (and apparently when you use Chrome, it just isn't) then it seems a lot of data is compromised. Support was great, but ultimately couldn't do anything but lead me to this thread.
>
> So I went to do the instructions above, but I have questions.
> The instructions say:
> * Link or download via CDNJS.
> * Download full source code from GitHub releases.
> * Install via Bower: bower install geolocator
> * Install via NPM: npm install geolocator
>
> Why, though? What do I need the above for? How do I use it?
> And say I put the code from that page in the HTML of a question. What then? When I look at the data from some test responses, I don't see anything. So I'm missing steps.
>
> Edit: oooooohhhhhhh man, this is sending me down a rabbit hole. I don't have a google api. I can't get one, because my google account is controlled by a University. I tried to put the code under Javascript in a Qualtrics question. It said I have a bad token. I just need to know where these people actually are, not the chrome server.
It's not a bug. It just isn't a feature. GeoIP location is sufficient for most Qualtrics users. You can post a Product Feature Request in the Product Ideas category of the Community.
You need to load the Geolocator JavaScript in your Qualtrics survey to make the geolocator functions available. You'll want to use the CDNJS option.
You can sign up for a private Google account and get an API key for it.
Hi Tom, thanks for the reply; I'll try again. I still think it's a bug--the location moves me 90 miles away, so I can't see how it's sufficient for most users, and I'll def. do a product feature request.
@TomG Still working on this. Following instructions on that link.
I've gotten an API key. I've put it into a description field's HTML on the qualtrics form.
_No idea what this means: _ Link or download via CDNJS.
_Done. It sits in my downloads mysteriously:_ Download full source code from GitHub releases.
_No idea what this means:_ Install via Bower: bower install geolocator
_No idea what this means:_ Install via NPM: npm install geolocator
Now what? Location doesn't show up as a column. How do I see the results?
I've gotten an API key. I've put it into a description field's HTML on the qualtrics form.
_No idea what this means: _ Link or download via CDNJS.
_Done. It sits in my downloads mysteriously:_ Download full source code from GitHub releases.
_No idea what this means:_ Install via Bower: bower install geolocator
_No idea what this means:_ Install via NPM: npm install geolocator
Now what? Location doesn't show up as a column. How do I see the results?
You need to add the CJNJS script to your survey header:
```
<script src="https://cdnjs.cloudflare.com/ajax/libs/geolocator/2.1.5/geolocator.min.js" integrity="sha256-KwzysiwPngY54J4IB5YsuYaSW9BLXVWGaSbwm9t1kl8=" crossorigin="anonymous"></script>
```
```
<script src="https://cdnjs.cloudflare.com/ajax/libs/geolocator/2.1.5/geolocator.min.js" integrity="sha256-KwzysiwPngY54J4IB5YsuYaSW9BLXVWGaSbwm9t1kl8=" crossorigin="anonymous"></script>
```
Does this work if the device is off-line?
I also would like to automatically capture the exact Latitude and Longitude of the person (and their mobile device) completing the survey. UPS is using a Qualtrics survey to audit UPS Drop Boxes across the US, and having the Lat / Long will help us know EXACTLY where the drop box is located. In turn, we can share the exact location with customers, so they don't drive around a parking lot looking for it.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.