How does HubSpot track the analytic interactions of contacts created via APIs?

Last updated: November 1, 2017

Available For:

Marketing: Free, Starter, Basic, Pro, Enterprise
Sales: Free, Starter, Professional

In certain circumstances, APIs are used to pass contacts into one's HubSpot contacts database. When contacts are passed into HubSpot, the following is needed:

  • Email address so the actual contact gets created.
  • Cookie passed as the hutk (HubSpot user token) to the contact record. This can happen in two ways:

The cookie is crucial, as it links the contact's browsing activity to the contact record in HubSpot. Without it, HubSpot will not be able to effectively track the contact as it visits HubSpot pages or external pages that contain your HubSpot tracking code.

Was this article helpful?