To add a free cookie consent banner on your HubSpot websites, follow these steps:

Steps

  1. Go to our Free Cookie Consent Solution page to start creating the Cookie Consent code to show the notice banner on your HubSpot website.

  2. Log in to HubSpot. From the HubSpot dashboard, go to Marketing > Design Tools:

    TermsFeed HubSpot - Dashboard - Marketing - Design Tools

  3. In the Finder section, search for the footer and select the Page Footer:

    TermsFeed HubSpot - Design Tools - Find Footer and Footer Page selected

  4. The Footer Page module is read-only, thus click on the Clone module to customize it:

    TermsFeed HubSpot - Design Tools - Footer Page opened - Clone module selected

  5. The dialog window will show. Click on the Clone module button:

    TermsFeed HubSpot - Design Tools - Footer Page opened - Clone module - dialog window

  6. Paste the generated Cookie Consent code in the module.html window (HTML + HubL) field:

    TermsFeed HubSpot - Design Tools - Footer Page Cloned - Paste the generated Cookie Consent code in the HTML + HubL filed

  7. Publish changes:

    TermsFeed HubSpot - Design Tools - Footer Page Cloned - Pasted the generated Cookie Consent code in the HTML + HubL filed - Publish changes

  8. Use the Preview option to preview the cookie consent notice banner:

    TermsFeed HubSpot - Design Tools - Footer Page Cloned - Published changes - the Preview button highlighted

  9. Here's a preview:

    TermsFeed HubSpot - Design Tools - Footer Page Cloned - Published changes - the Preview

  10. Now it's time to connect your module with your website. Go to Marketing > Website > Website Pages:

    TermsFeed HubSpot - Design Tools - Footer Page Cloned - Published changes - Marketing - Website - Website Pages highlighted

  11. For this example, we've used the Home page. Click on the Edit option on the home page:

    TermsFeed HubSpot - Website Pages - Home page - Edit highlighted

  12. The page editor will open. Scroll down to the footer section and click on it. Then confirm your editing intention by selecting the Open in global content editor option from the dialog window:

    TermsFeed HubSpot - Website Pages - Home page - Edit - Footer - Open global content editor button highlighted

  13. From the left menu, use the Add to Page option to add a new Module to the page. Find your cloned footer page module (the module will keep the name of the copy) named page_footer_copy and drag and drop it into the footer section:

    TermsFeed HubSpot - Website Pages - Home page - Edit - Footer - Open global content editor - Add new module - footer page copy - drag and drop highlighted

  14. Use the Preview option to see the changes:

    TermsFeed HubSpot - Website Pages - Home page - Edit - Footer - Open global content editor - Added new module - footer page copy - Preview

  15. The Cookie Consent banner is displayed on your HubSpot website:

    TermsFeed HubSpot - Website Pages - Home page - Live Preview of the Cookie Consent banner displayed