HubSpot cookie banner

Hey folks, I just wanted to check in if anyone had used HubSpot’s cookie banner setup and how to implement it properly? I’ve used it previously with Webflow, and just copy / pasted the below into the head.

<script type="text/javascript" id="hs-script-loader" async defer src="//js-eu1.hs-scripts.com/[id].js"></script>

Is that all I’d need to do for WeWeb?

I’d say it should be enough, but only testing can tell, since WeWeb tends to be a little specific with JavaScript imports

1 Like

Indeed, I put it in (replaced <script type=“text/javascript” with just ) but it does not seem to be working, at least in staging. Any ideas? Nothing appearing at all - but I can find the snippet in the head section if I inspect the page.

If you post your implementation it could be easier to pinpoint

I just added this snippet to the custom code head (with the ID anonymised for the screenshot!)