Capture GeoIP location in the survey | XM Community
Skip to main content
Question

Capture GeoIP location in the survey


Forum|alt.badge.img+25
  • Level 4 ●●●●
  • 61 replies

In my survey, I need to capture the GeoIP location of the respondents, like City, State/Region, Country Name and Postal Code. I have created embedded fields for the same. Please find below SS for your reference.

when I took run via preview link It’s capturing the data for all four fields however when I used email distribution to take the run, it do capture the data only for 'State/Region’ and 'Country Name’ and data is wrong. Although I am in India and its showing 'United States’.

 

Please advise how to tackle this.

4 replies

vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 369 replies
  • January 11, 2024

Is it possible you were using some kind of VPN on the device where you were taking the survey with the invitation link?


Forum|alt.badge.img+25
  • Author
  • Level 4 ●●●●
  • 61 replies
  • January 11, 2024

@vgayraud thanks for your reply. Maybe in my system we have VPN, is there any way to collect the location data in the survey.

 


vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 369 replies
  • January 11, 2024

Your survey flow settings are correct, but you won’t be able to capture the real GeoIP location for people using a VPN: the best you’re gonna get is the VPN exit point location, which doesn’t mean much.

Here are the possible GeoIP location fields and what is captured from my location :

${loc://PostalCode}: 74200
${loc://City}: Thonon-les-Bains
${loc://Region}: 74
${loc://CountryName}: France
${loc://CountryCode}: FR

 


vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 369 replies
  • January 11, 2024

And using a VPN with exit point in India :

${loc://PostalCode}: 400072
${loc://City}: Mumbai
${loc://Region}: MH
${loc://CountryName}: India
${loc://CountryCode}: IN

 


Leave a Reply