1,559 / 4,865 contacts are coming in via Offline Sources > API and not via the various fields in 'Original Source' for June 2018.
This is a problem as want to have our leads go through the appropriate online channels (organic, social media etc.)
I've liaised with my developer on this and this is what he's told me:
When a user is created in hubspot through the website (assessment flow, landing pages forms...) we submit the DH Smile Assessment Form
Basically we send below info through the Hubspot Form API:
config('hubspot.portalId'), // 2522988
config('hubspot.freeAssessmentFormId'), // 5d7bacfb-fd53-40de-a7b0-81f2904c8ae8
'firstname' => $request->get('firstname'),
'lastname' => $request->get('lastname'),
'email' => $request->get('email'),
'ipLocation' => $request->ip(),
'phone' => $request->get('country-code').$request->get('phone'),
'hs_context' => json_encode([
'hutk' => $_COOKIE['hubspotutk'], // get hubspotutk from customer cookies
'ipAddress' => $request->ip(),
'pageUrl' => route('personal-info'),
'pageName' => 'Assessment Start',
We are using the following APIs:
We are recording data from six different markets from the same site:
We generate our leads from our smile assessment form:
Can you please provide some direction on this?
Can you let me know if you have any questions?