APIs & Integrations

Boomika
Member

Request for Guidance on Creating a Custom Cookie for a Contact

I am currently working with the necessary cookies provided by HubSpot, but I would like to create an additional custom cookie specifically for a contact in my system. However, I would prefer not to write the code on my end.

 

Could someone assist me with creating this cookie or guide me on how I can set it up without using custom code?

 

Thank you for your help!

0 Upvotes
2 Replies 2
TomM2
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Request for Guidance on Creating a Custom Cookie for a Contact

Hey @Boomika Cookies are quite a delicate ecosystem, they're also rife for abuse. HubSpot has predefined cookies dropped on a visitors browser which you can see here. You can't add new cookies to this within HubSpot, it would require a custom script to do. 

 

However, I'm curious as to your use case, why would you want to drop a specific cookie for a specific contact? What is it you're looking to achieve? 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


0 Upvotes
Boomika
Member

Request for Guidance on Creating a Custom Cookie for a Contact

Sorry for the confusion earlier!

I’m not looking to drop a cookie for a particular contact, but rather for all contacts. Specifically, I’d like to store an industry value as a cookie for the contacts. My goal is to have this value available for content personalization in our site.

 

Thanks again for your guidance!

0 Upvotes