When I let FS Components Cookie Consent update my Hubspot codes, the Hubspot forms are not showing. If I change it back to normal, they show again. What’s the problem here? I have changed them back to normal, otherwise the site is not functional.
The reason the form disappears is likely that these scripts have been categorized under a consent category, preventing them from loading if a user has not accepted consent.
From my research, these scripts do not issue any cookies, so they can either be marked as Essential or dismissed within the app.
However, the script that should always be categorized is this one, which is correctly set to the Marketing category:
<!-- This script is managed by Finsweet Cookie Consent -->
<script
type="fs-consent"
id="hs-script-loader"
async=""
defer=""
src="//js-eu1.hs-scripts.com/143476855.js"
fs-consent-categories="marketing"
fs-consent-scripttype="text/javascript"
></script>