I have created the custom onscale IP properties, however, I have not been able to update them for a newly created contact, nor have I been able to track the contact's lead (Organic Search, keywords, direct traffic, etc.).
What am I missing with this implementation? I have casted the ip variables to strings as well. It seems as if adding custom properties makes the entire identify invalid.
I was able to create a new contact with the custom properties on one of your landing page:
In this case, I would expect the custom properties to be pass across if there's a value to it. Could you try passing in a testing variable onto the custom properties and see if it gets sent through? I'm not too sure how the ip_location is getting the user's location information, you can also try printing that out and check what's the value being passed across.
Additionally, I noticed there's a few IP address being included in your 'Exclude traffic' settings. Do take note that:
Once an IP address or referrer domain has been added to your excluded traffic, no visits, page views, submissions, or events data originating from that IP address or domain will be recorded in your HubSpot analytics.
I was able to create a new contact with the custom properties on one of your landing page:
In this case, I would expect the custom properties to be pass across if there's a value to it. Could you try passing in a testing variable onto the custom properties and see if it gets sent through? I'm not too sure how the ip_location is getting the user's location information, you can also try printing that out and check what's the value being passed across.
Additionally, I noticed there's a few IP address being included in your 'Exclude traffic' settings. Do take note that:
Once an IP address or referrer domain has been added to your excluded traffic, no visits, page views, submissions, or events data originating from that IP address or domain will be recorded in your HubSpot analytics.
Identify Tracking method not updating custom property
lösung
Hi Wendy!
That helped a lot, turns out there was some tracking prevention going on in my browser that prevented these calls from being made my localhost. Once I deployed to a test server the contacts seemed to record the IP properly!