IP address and associated fields

Greetings,

With the removal of the ip_address field from the API, are there other ways for fields like “IP country” or “IP city” from a contact to be automaticaly set by Hubspot ?

Or do we need to find the ip : country/city association on our side and then send the info to the API ?

Regards,

@SDelamarre -- there’s a lot of information available preset in the {{request}} variable on any page. In terms of IP location, you will find at least the following useful settings. Some of this (example country) is also captured in a conversion to the contact record.

“geoipCity” : “san diego”, “geoipCountry” : “us”, “geoipDma” : null, “geoipOrganization” : “”, “geoipRegion” : “california”

Hope this helps,

Steve

@SteveHTMIn my case, I’m using the curl endpoint POST/PATCH /crm/v3/objects/contacts/ to add new customers data once a day to the hubspot access of our client.

Is there any way for hubspot to fill those

geoip

fields with the help of an IP address we can procure during our API call ? According to this page, it seems possible.


IP country: the country reported by the contact’s IP address. This is automatically set by HubSpot and can be used for segmentation and reporting


Or do we need to set the values of those fields manualy ?

Thanks,

It looks like properties like ip_country are read only - so I doubt that you can leverage the geo location functions used by HubSpot from your external source.