3 Replies Latest reply on Feb 10, 2017 9:48 AM by Sanford Whiteman

    use ip lookup to prepopulate a country field in a form

    Michael Collins

      Hi guys,

      we're going to put Marketo embed forms on our website, and we want to use the IP lookup tool that Marketo uses to pre-populate a Country field on the form...is this possible?

      I'm hearing from an advisor that it's not, and that we would need to use a third party IP lookup tool, which doesn't seem right to me...

        • Re: use ip lookup to prepopulate a country field in a form
          Beth Corby

          HI Mike,

           

          There is a standard Marketo field called Inferred Country which will perform a reverse IP lookup of the lead's first recorded web visit. The only caveat with the use of this field is if someone is not in their typical workplace or traveling then the Country data would not be all that accurate.

           

          I hope this helps!

           

          Thanks!

          Beth

            • Re: use ip lookup to prepopulate a country field in a form
              Michael Collins

              Hi Beth,

              yes - that's the field we would want to use, and we're aware about the issue with travel - however, I am being told that it is not possible to pre-fill the Country field on the form using this IP lookup Country value - this is my question to the group - is it possible, or does it require the form to be submitted before the value becomes available?

                • Re: use ip lookup to prepopulate a country field in a form
                  Sanford Whiteman

                  It is definitely not possible to use the Inferred Country when the lead is on their first anonymous pageview, because the field is not attached to their record yet.

                   

                  It is definitely possible to use a third-party tool to perform an IP-to-country guesstimate and use that to fill in Country, though you should definitely let the lead override it (since they are the authority). 

                   

                  A long time back I showed how to use browser location services and IP lookup services (2 different examples that can be used together for super-powered detection) if you search the Community.