Tracking Code Cookie

Hello!
Is that possible to hide Tracking Code cookies part of this code?

<!-- Start of HubSpot Embed Code -->
<script type=“text/javascript” id=“hs-script-loader” async defer src=“//js-eu1.hs-scripts.com/xxxxxx.js”></script>
<!-- End of HubSpot Embed Code -->

We have our own cookies accept and we dont want to show two cookies accept to user.

Hi, @PFarkas :waving_hand: Thanks for reaching out!

Here is the developer documentation for the Tracking Code and Cookie banner APIs:

Hey, @Teun @CMcKay, do you have any experience here?

Thank you! — Jaycee

Hey @PFarkas and @Jaycee_Lewis ,

You can get rid of the banner by using the do_not_track method for the cookies function: https://developers.hubspot.com/docs/api/events/cookie-banner

Or you could combine your own cookie consent banner with the tracking code to present a single banner to the user. This way, the user will only see one banner and will be able to manage their cookie preferences in a single location. Here’s how you can programmatically accept the husbpot cookies:

https://community.hubspot.com/t5/APIs-Integrations/How-to-integrate-a-self-developed-cookie-consent-banner-with/m-p/553348/highlight/true#M49962

Let me know if you have any questions.

Carter McKay

Thanks, @CMcKay :raising_hands:

100%