# Hubspot cookie managing on Piwik consent banner

**URL:** <https://community.piwik.pro/t/hubspot-cookie-managing-on-piwik-consent-banner/3678>\
**Category:** API & integrations\
**Created:** [February 23, 2024, 1:57pm UTC](https://community.piwik.pro/t/hubspot-cookie-managing-on-piwik-consent-banner/3678 "2024-02-23T13:57:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertValoa](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@robertValoa](https://community.piwik.pro/u/robertValoa)\
**Post date:** [February 23, 2024, 1:57pm UTC](https://community.piwik.pro/t/hubspot-cookie-managing-on-piwik-consent-banner/3678/1 "2024-02-23T13:57:58Z")

</div>

Hello! Is it possible to manage Hubspot cookies on Piwik consent banner? How I can build this? I’ve checked some of the docs but have not found the solution. Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![rmastop](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/rmastop/32/29_2.png) [@rmastop](https://community.piwik.pro/u/rmastop)\
**Post date:** [February 23, 2024, 2:21pm UTC](https://community.piwik.pro/t/hubspot-cookie-managing-on-piwik-consent-banner/3678/2 "2024-02-23T14:21:22Z")

</div>

Hi @robertValoa,

Are you using hubspot as your website, or as a third party integrated platform as part of your website?

---

<div class="post-metadata">

**Author:** ![robertValoa](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@robertValoa](https://community.piwik.pro/u/robertValoa)\
**Post date:** [February 26, 2024, 7:03am UTC](https://community.piwik.pro/t/hubspot-cookie-managing-on-piwik-consent-banner/3678/3 "2024-02-26T07:03:38Z")

</div>

Hi @rmastop !

Yes, in this case site it is Hubspot site. How it affects to the solution? 🙂

---

<div class="post-metadata">

**Author:** ![rmastop](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/rmastop/32/29_2.png) [@rmastop](https://community.piwik.pro/u/rmastop)\
**Post date:** [March 8, 2024, 9:04am UTC](https://community.piwik.pro/t/hubspot-cookie-managing-on-piwik-consent-banner/3678/4 "2024-03-08T09:04:39Z")

</div>

Hi @robertValoa,

We have no direct consent integration for Hubspot websites.  
however, you can make use of the API of Hubspot and Piwik PRO, to sync the consent from Onetrust to Piwik PRO

Hubspot has it’s own consent banner: [Customize your cookie tracking settings and consent banner](https://knowledge.hubspot.com/privacy-and-consent/customize-your-cookie-tracking-settings-and-consent-banner)

If you enable it, you can use their API to sync the consent:

> **[Cookie banner](https://developers.hubspot.com/docs/api/events/cookie-banner)**
>
> The cookie consent banner enables you to enable/disable different analytics scripts based on user preferences.

In Piwik PRO, you would use the feature to map to a 3rd party consent manager:

> **[How can I integrate a third-party cookie consent tool with Piwik PRO? | Piwik...](https://help.piwik.pro/support/privacy/how-can-i-integrate-a-third-party-cookie-consent-tool-with-piwik-pro/)**
>
> If you want to keep using your cookie consent tool instead of switching to our Consent Manager, you can integrate it with Piwik PRO. This way, you’ll be able to collect full data from visitors who gave their consent and anonymous data from the...

would that work for you?
