# Loading Scripts before Cookie Consent Banner

**URL:** <https://community.hubspot.com/t/loading-scripts-before-cookie-consent-banner/71167>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [December 13, 2022, 11:31pm UTC](https://community.hubspot.com/t/loading-scripts-before-cookie-consent-banner/71167 "2022-12-13T23:31:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JStevenson](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@JStevenson](https://community.hubspot.com/u/JStevenson)\
**Post date:** [December 13, 2022, 11:31pm UTC](https://community.hubspot.com/t/loading-scripts-before-cookie-consent-banner/71167/1 "2022-12-13T23:31:53Z")

</div>

Hi there!

I am using a platform called Schema App to deploy schema to our site. The schema runs through GTM via a script. I am having issues with the Hubspot Cookie banner blocking the script until a user “accepts cookies”. This poses a problem for when Google crawls the site the cookie banner won’t be accepted, and therefore Google will not detect the script. Anyone have any experience with loading scripts before the cookie banner is accepted? Thank you!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 14, 2022, 6:07pm UTC](https://community.hubspot.com/t/loading-scripts-before-cookie-consent-banner/71167/2 "2022-12-14T18:07:39Z")

</div>

Hi, @JStevenson 👋 Thanks for reaching out! Hey, @mangelet @Teun [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259), do you have any experience or tips you can share with @JStevenson?

Best,

Jaycee
