Private Apps update offline sources

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.

Hi, @CLando :waving_hand: Thanks for reaching out. Hey, @danhammari @Nickm66 @tominal, do you have any PHP-related insight you can share with @CLando?

Thank you very much for taking a look! — Jaycee

Has anyone found a solution? @Jaycee_Lewis @CLando