I am using the Forms API to get Contacts from an externally hosted form. The IP address that is being pulled for contacts is the IP address of the website server and I get this notification on each Contact: “Some of this contact’s activity has been excluded based on their IP address. Learn more.” I had our developer add: “ipAddress”:x to the parameters but it has not changed anything. Any help or advice would be amazing.
Apologies, I'm not particularly familiar with PHP. How does the final hs_context field look? It's supposed to be a JSON object, but it appears above like it might be an array? Here's an example hs_context:
Made that request using postman, though I've included hs_context it's still not showing up. Does the hs_context have to include all the the properties?
The contact's IP address properties are matching up with the values I'm seeing in the hs_context fields for those submissions. I'm also not seeing any other data appearing in the hs_context data for this form. Are you sure that the hs_context fields are being properly formatted? Do you have an example of a raw request you're making to the forms API, so that I can take a closer look?
I messaged you the link. I am not sure exactly how it is populated, I am not the one who implemented the code, I work on the marketing end. I will have to get back to you on that.
Just to make sure I’m understanding, are you including the ipAddress: xxxxxx in the hs_context parameter? If that’s not included properly, the IP address will be set to the IP of the system making the request to the Forms API, which is likely your server.