I am including HubSpot forms with a script like this:
let script = document.createElement('script');
script.src = 'https://js.hsforms.net/forms/v2.js';
document.head.appendChild(script);
I don’t include other HubSpot scripts.
Can I make that form stop using cookies?
I found a solution where in Settings->Privacy&Consent->Cookies->Cookies Banner->Advanced…->Deactivate Cookies, but this solutions seems to work only for the chat widget, not for the forms.
i include only js.hsforms.net/forms/v2.js, nothing more. And I still see __cf_bm and _cfuvid cookies on .hsforms.com and __cf_bm cookie on .hsforms.net.
Ah! My apologies, I thought you were referring to HubSpot cookies. Those are cloudflare cookies, so they’re going to need to load on any HubSpot embed since it’s hosted on cloudflare and those are required cloudflare cookies.
Only way around that would be to build a custom form frontend and have it submit data to the HubSpot form using the forms api.