APIs & Integrations

MVermeulen
Member

Hubspot forms dissapear from website after consent denied

SOLVE

Can anyone help with this. My hubspot forms dissapear from my website when denying cookie consent. 

Installed cookiebot, put the cookies from huspot as nesesarry. 

Website made with webflow

Cookiebot installed with GTM. 

No idea why this is happening. 

This is url https://www.flyingstart.be/contact-page 

0 Upvotes
2 Accepted solutions
Jaycee_Lewis
Solution
Community Manager
Community Manager

Hubspot forms dissapear from website after consent denied

SOLVE

Hey, @MVermeulen 👋 You may need to troubleshoot your 3rd party cookie tool. I see some warning in the developer console. Additionally, the cookie consent banner is not appearing for me at all and the HubSpot form is only showing up after I refresh the page. It's the same result when I use an Incognito window — no consent banner and no form until you refresh the page.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

View solution in original post

0 Upvotes
MVermeulen
Solution
Member

Hubspot forms dissapear from website after consent denied

SOLVE

Hi Jaycee, so i got a response from cookiebot and managed to solve the issue. 

I added (data-cookieconsent="ignore") to the script of the form on my webflow website in this position after the type code like this: type="text/javascript" data-cookieconsent="ignore".  For other people that might need other solutions here is the response from cookiebot: There are 4 things you can do to prevent resources from being blocked unintentionally:
 

  1. Add the following attribute to the element's tag: data-cookieconsent="ignore"
  2. Go to the Cookiebot Manager and categorize all cookie set by the blocked resource as "Necessary".
  3. Remove scripts which set cookies from the file, and either add them inline, or in a separate file.
  4. Disable auto blocking by replacing the data-blockingmode="auto" with the async attribute on the Cookiebot script tag. This does mean that you will have to manually mark up elements to prevent them from setting cookies prior consent. Instructions for manually adding mark up is described in this guide.

Hope this might help others aswell. Have a great day! 

View solution in original post

0 Upvotes
5 Replies 5
Jaycee_Lewis
Solution
Community Manager
Community Manager

Hubspot forms dissapear from website after consent denied

SOLVE

Hey, @MVermeulen 👋 You may need to troubleshoot your 3rd party cookie tool. I see some warning in the developer console. Additionally, the cookie consent banner is not appearing for me at all and the HubSpot form is only showing up after I refresh the page. It's the same result when I use an Incognito window — no consent banner and no form until you refresh the page.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
MVermeulen
Member

Hubspot forms dissapear from website after consent denied

SOLVE

Thanks Jaycee, i have submitted a support request to cookiebot support. Hope they can help as i am not a developer and not sure how to solve it. Have a great day

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Hubspot forms dissapear from website after consent denied

SOLVE

Anytime @MVermeulen. Please let us know if you find anything out. I've found if one person is having an issue, it's likely others are too. — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
MVermeulen
Solution
Member

Hubspot forms dissapear from website after consent denied

SOLVE

Hi Jaycee, so i got a response from cookiebot and managed to solve the issue. 

I added (data-cookieconsent="ignore") to the script of the form on my webflow website in this position after the type code like this: type="text/javascript" data-cookieconsent="ignore".  For other people that might need other solutions here is the response from cookiebot: There are 4 things you can do to prevent resources from being blocked unintentionally:
 

  1. Add the following attribute to the element's tag: data-cookieconsent="ignore"
  2. Go to the Cookiebot Manager and categorize all cookie set by the blocked resource as "Necessary".
  3. Remove scripts which set cookies from the file, and either add them inline, or in a separate file.
  4. Disable auto blocking by replacing the data-blockingmode="auto" with the async attribute on the Cookiebot script tag. This does mean that you will have to manually mark up elements to prevent them from setting cookies prior consent. Instructions for manually adding mark up is described in this guide.

Hope this might help others aswell. Have a great day! 

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Hubspot forms dissapear from website after consent denied

SOLVE

Amazing! Thank you very much for taking the time to come back and share the solution!  — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes