APIs & Integrations

Mohammad3113
Member | Diamond Partner
Member | Diamond Partner

HubSpot cookies control using Usercentrics

SOLVE

Hi everyone

I'm using Usercentrics tool to manage the cookies for GDPR purpose,

 

I'm using the following code

var _hsp = window._hsp = window._hsp || [];
_hsp.push(['revokeCookieConsent']);

to remove the HubSpot cookies if the user denied but, the question is. 

If the user selects one or more of the cookies' categories, how can I push the HubSpot Cookies under the selected categories?

 

I tried to follow the

https://developers.hubspot.com/docs/api/events/cookie-banner

But there is nothing there to show how can I push a single category's cookie. 

 

So, what is the way to push HubSpot single-category's cookies?

1 Accepted solution
himanshurauthan
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

HubSpot cookies control using Usercentrics

SOLVE

Hello there,

 

You can refer to this page outlines all the possible ways you can customize your HubSpot cookies

 

How to customize cookie tracking and your privacy policy alert in HubSpot?

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology

View solution in original post

3 Replies 3
FloStu
Contributor | Gold Partner
Contributor | Gold Partner

HubSpot cookies control using Usercentrics

SOLVE

Hi there,

 

@Mohammad3113 can you explain how you have now included the Usercentrics CMP so that HubSpot tracking is not loaded before consent?

 

Best, Florian

0 Upvotes
himanshurauthan
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

HubSpot cookies control using Usercentrics

SOLVE

Hello there,

 

You can refer to this page outlines all the possible ways you can customize your HubSpot cookies

 

How to customize cookie tracking and your privacy policy alert in HubSpot?

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology
dennisedson
Community Manager
Community Manager

HubSpot cookies control using Usercentrics

SOLVE

@himanshurauthan , can you lend a hand here?

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes