Skip to main content
All CollectionsCMS guides
HubSpot implementation
HubSpot implementation

Cookie Information consent pop-up and cookie policy implementation guide for HubSpot

Updated over 2 years ago

Pop-up implementation

  • In your HubSpot account, click the settings icon settings in the main navigation bar.

  • In the left sidebar menu, navigate to Website > Pages.

  • In the upper left, click the Choose a Domain to Edit its Settings dropdown menu and select a domain. To apply the same code to all the HubSpot-hosted content, you must choose default settings for all domains.

  • To edit the header for a specific domain, click Override default settings in the Site Header HTML section. Insert the pop-up script:

<script id="CookieConsent" src="https://policy.app.cookieinformation.com/uc.js" data-culture="EN" type="text/javascript"></script>
  • To revert a specific domain's header or footer HTML to the default settings for all domains instead, click Apply Default Settings.

  • Enter your code snippets.

  • In the bottom left, click Save to apply your changes.

Policy implementation

  • In your HubSpot account, navigate to your blog, landing pages, or website pages.

  • Hover over your content and click Edit.

  • In the content editor, click the Settings tab, then click Advanced options.

  • In the Additional code snippets section, enter your code snippet into the Head HTML:

<script id="CookiePolicy" src="https://policy.app.cookieinformation.com/cid.js" data-culture="EN" type="text/javascript"></script>
  • In the top right, click Update to publish your changes.

Related articles:

Did this answer your question?