APIs & Integrations

eddieace
Member

How to get the cookie in development environment

I’m trying to build custom forms, and then post the information to the forms API. Some issues I’m having is that I’m trying this out in my development environment. The problem is that I can’t find the cookie.

Is there a solution for this?

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

How to get the cookie in development environment

Hi @eddieace,

The details depend heavily on your environment. In general, visiting any site with the HubSpot tracking code installed will create a hubspotutk cookie in the browser. For testing purposes, you can grab one from your browser and use it in test form submissions.

0 Upvotes