Hello, we have a free account signup on our website that is our main source of leads. The signup flow is not a hubspot form, so we use the apis to send the data from it to hubspot.
However, we haven’t been able to figure out how get the IP country, IP City, and IP state/region values to populate with this method. Does anyone know how to accomplish that?
I would suggest is to use the form submission API if you weren’t using it already. The normal contact creation API doesn’t support IPs or cookies, and you’ll miss a lot of the tracking information. However although this records the IP of the contact, I’m not sure if that carries over to the other IP fields.
Thanks for the tip LPM. We’re actually using the Tracking Code API. Do you know if that supports the ipAddress field? It doesn’t seem to from our testing.