Hi,
I’m migrating from the old API integration to Private Apps.
I am able to create a new contact with name and phone number, but I can’t figure out how to save the source of the contact.
Right now it says “This contact was created from Offline Sources from Integration”
While before I was able to send the pageUrl and pageName properties to show on which Form the contact was created.
Also, I was sending the browser cookie information so the contact would be updated with all it’s data.
$hs_context = array(
‘hutk’ => $_COOKIE[‘hubspotutk’],
‘ipAddress’ => $ip_addr,
‘pageUrl’ => $page_url,
‘pageName’ => $page_title
);
I can’t find the information on how to achieve the same thing with the new integration. I’m using the PHP HubSpot API v3 SDK(Client) files from GitHub.