Solved

Add GeoIP location automatically to a hidden form field?

  • 28 February 2015
  • 28 replies
  • 129 views

How do I capture leads GeoIP location into the hidden form fields?

icon

Best answer by Justin 15 August 2017, 20:28

View original

28 replies

I got it to work! I had an error in the case of my script. I was using cityField but it should have been cityfield. Working now! Thanks for your help

Hi Justin,

I am having difficulties to pass the value to a hidden field on my pop-up, are you still using the same script in 2021?

Thanks in advance,
Alexis

[quote="[How-to] Use Geotargeting to Display a Visitors Location on a Page, post:1, topic:5739"]
it to the page “before body end tag”:
[/quote]

I have copied and pasted the code above and included the script to populate the form field. Still having trouble populating the hidden form fields.

Reply