How to auto populate country code based on IP address? | Community
Skip to main content
Answered

How to auto populate country code based on IP address?

  • December 27, 2023
  • 3 replies
  • 161 views

Dan L
Forum|alt.badge.img+2
  • Sharing wisdom
  • 49 replies

There is a funnel where the country code needs to be auto populate beside the phone number field based on user IP address.
How can this be achieved? Please provide a solution.

Best answer by Grace

Hi @Dan L hope you’re having a good week!

As far as I’m aware it’s not possible to auto-populate the country code for phone numbers as we don’t collect much information from IP addresses. I’m checking if there is a workaround or way to do it.

View original

3 replies

Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • 2583 replies
  • Answer
  • December 27, 2023

Hi @Dan L hope you’re having a good week!

As far as I’m aware it’s not possible to auto-populate the country code for phone numbers as we don’t collect much information from IP addresses. I’m checking if there is a workaround or way to do it.


Dan L
Forum|alt.badge.img+2
  • Author
  • Sharing wisdom
  • 49 replies
  • December 28, 2023

Thanks


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • 2583 replies
  • December 28, 2023

Hi @Dan L the only workaround we can suggest is embedding the videoask in a webpage so the website can detect the location and dynamically display a different videoask with the country code pre-selected. That sounds pretty complicated though so not sure if it would work for you or is worth the setup. 

Let me know what you think!


Reply