APIs & Integrations

SIDDESHWARI_S
Member

How to access the necessary cookie `hs_login_email`?

Hi, 

Currently, in my application, Hubspot is tracking the user mail id with the cookie hs_login_email, How Can I utilize this cookie in my application?

 

It seems to be undefined when I consoled it and not available in document.cookie?

 

Thanks, 
Siddeshwari.

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

How to access the necessary cookie `hs_login_email`?

Hey @SIDDESHWARI_S I'm not entirely sure it would be eithical for HubSpot pass their user login cookie information to a third party integrator. For an integration you need to use a private app to select auths, the user who sets those up will be tracked. You can only pull data provided between portals from the private app, You can't/shouldn't pull user local storage into your integration. 

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
SIDDESHWARI_S
Member

How to access the necessary cookie `hs_login_email`?

Hi @TomM2 , Thanks for the idea of private apps.

Let me dive deep my question here.

 

In my application, the hubspot is tracking as below.

SIDDESHWARI_S_0-1742120815410.png

 

How Can I track this from my vercel app?

 

Thanks, 
Sid.

 

0 Upvotes