pkmnct / qualtrics-google-map-lat-long

Embed a customizable Google Map in your Qualtrics survey to collect location data
MIT License
21 stars 13 forks source link

lat/lon from google maps not stored #6

Closed debsuconn closed 4 years ago

debsuconn commented 5 years ago

Hi, I have developed a survey to collect locations of healthcare facilities by using the qualtrics-google code. While I am conducting a survey, everything work such as search box, red pin etc but the lat and lon data and the name of the location are not saved in the database. Any solution to solve this issue?

Thanks.

Louocean commented 4 years ago

I also have the same problem... were you able to find the data?

forestbarnes commented 4 years ago

Any solution to this problem? I'm having the same issue

pkmnct commented 4 years ago

The result should be collected in the Qualtrics question field as a string representation of a JSON object. It will be in the format as follows:

{"lat": "38.8951", "long": "-77.0364"}

elijanet commented 4 years ago

This took me hours to figure out and it was so simple! You need to make sure the Text Type in Qualtrics is set as Single Line and not Form. It then records the lat/long in Data & Analysis.

Perhaps the author can specify the above in the instructions?

pkmnct commented 4 years ago

@elijanet Thank you for this, I had not been successful in recreating the reported bug. @forestbarnes @Louocean @debsuconn If any of you are still having this issue, let me know if @elijanet's solution works for you.

forestbarnes commented 4 years ago

This fix worked for me! PLEASE specify this in the instructions - it would have saved me quite a bit of time and hassle. Thank you!!

pkmnct commented 4 years ago

I have included this in the documentation setup and troubleshooting sections. If anyone continues to face this issue after following this workaround, please feel free to re-open this issue.