# Embedd Code for Cookiebot on Landing Page (free)

**URL:** <https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165>\
**Category:** Blog, Website & Page Publishing\
**Tags:** free, landing-pages\
**Created:** [January 4, 2023, 10:15am UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165 "2023-01-04T10:15:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![BastianW](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@BastianW](https://community.hubspot.com/u/BastianW)\
**Post date:** [January 4, 2023, 10:15am UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/1 "2023-01-04T10:15:09Z")

</div>

Hi there,

I connected Cookiebot and Hubspot. Now I have to embedd the two codes (one in the \<head \> and one in the \<body\>) so that the cookiebanner opens.  
I can’t find a way to add it. Can someone help?  
PS: I use a starter template and am a free user at the moment.

---

<div class="post-metadata">

**Author:** ![danmoyle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danmoyle/32/91166_2.png) [@danmoyle](https://community.hubspot.com/u/danmoyle)\
**Post date:** [January 4, 2023, 1:51pm UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/2 "2023-01-04T13:51:35Z")

</div>

Hi @BastianW . Here’s a Knowledge Base article to help you [add code to the head or footer HTML of HubSpot content](https://knowledge.hubspot.com/website-pages/add-code-to-the-head-or-footer-html-of-hubspot-content). Hopefully that helps!

---

<div class="post-metadata">

**Author:** ![BastianW](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@BastianW](https://community.hubspot.com/u/BastianW)\
**Post date:** [January 4, 2023, 2:39pm UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/3 "2023-01-04T14:39:56Z")

</div>

Dear @danmoyle, thank you so much! Yes I saw this article but I there aren’t any additional settings to choose from in my interface. Just “Settings”:

- the titles, page-url, meta description and feature image.

Thanks again for your reply!  
Bastian

---

<div class="post-metadata">

**Author:** ![BastianW](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@BastianW](https://community.hubspot.com/u/BastianW)\
**Post date:** [January 5, 2023, 1:49pm UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/4 "2023-01-05T13:49:26Z")

</div>

I also tried to use the hubspot cookie banner. But there aren’t any options to create one. I worked through the guide but I have to add an external URL with hubspot tracking code. But I want to use it on an hubspot-hosted landing page… any ideas?

 ![Bildschirm­foto 2023-01-05 um 14.47.10.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/b/dbff8c25e1ce8e837c281aef7cd046eae62d6577.png)

---

<div class="post-metadata">

**Author:** ![danmoyle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danmoyle/32/91166_2.png) [@danmoyle](https://community.hubspot.com/u/danmoyle)\
**Post date:** [January 5, 2023, 1:56pm UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/5 "2023-01-05T13:56:28Z")

</div>

@kvlschaefer is there any technical help HubSpot can offer for @BastianW?

---

<div class="post-metadata">

**Author:** ![BastianW](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@BastianW](https://community.hubspot.com/u/BastianW)\
**Post date:** [January 10, 2023, 10:57am UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/6 "2023-01-10T10:57:42Z")

</div>

Thanks @danmoyle for mentioning @kvlschaefer. Maybe it’s just a bug? Without any cookie consent, I can’t launch my landing page…  
All the best

Bastian

---

<div class="post-metadata">

**Author:** ![kvlschaefer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kvlschaefer/32/71076_2.png) [@kvlschaefer](https://community.hubspot.com/u/kvlschaefer)\
**Post date:** [January 10, 2023, 12:38pm UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/7 "2023-01-10T12:38:38Z")

</div>

Hi @BastianW and @danmoyle,

Thank you for your help so far with this, @danmoyle! 🙂

Apologies for the delayed reply, @BastianW, I’ve been out of office.

@BastianW - I believe that this may be related to your subscription level. Not all accounts will be able to edit the head and footer HTML for individual [pages](https://knowledge.hubspot.com/website-pages/add-code-to-the-head-or-footer-html-of-hubspot-content#:~:text=Please%20note%3A%20not%20all%20accounts%20will%20be%20able%20to%20edit%20the%20head%20and%20footer%20HTML%20for%20individual%20pages%20and%20posts%20or%20across%20domains.%20The%20specific%20editing%20options%20for%20different%20types%20of%20content%20available%20depend%20on%20your%20HubSpot%20subscription.%C2%A0)and posts or across domains. The specific editing options for different types of content available depend on your HubSpot subscription.

To confirm though, can you please send me a DM with a direct link to your page settings and your domain settings please?

I’ll be happy to take a look 🙂

Best,

Kristen

---

<div class="post-metadata">

**Author:** ![BastianW](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@BastianW](https://community.hubspot.com/u/BastianW)\
**Post date:** [January 11, 2023, 7:25am UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/8 "2023-01-11T07:25:25Z")

</div>

Dear Kristen,  
thanks for your answer. I’m still on the free plan, planning to go into paid mode soon. The knowledge article posted by @danmoyle says that it is applicable to all plans.  
I’ll send you a DM.  
Thanks everyone.  
Best, Bastian

---

<div class="post-metadata">

**Author:** ![kvlschaefer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kvlschaefer/32/71076_2.png) [@kvlschaefer](https://community.hubspot.com/u/kvlschaefer)\
**Post date:** [January 12, 2023, 1:47pm UTC](https://community.hubspot.com/t/embedd-code-for-cookiebot-on-landing-page-free/72165/9 "2023-01-12T13:47:19Z")

</div>

Hi @BastianW,

Thank you for your patience while I was looking into this.

I wanted to share this [help article](https://knowledge.hubspot.com/website-pages/create-a-page-with-a-starter-template) on starter templates regarding customization.

At this time, it is not possible to add customization (including head HTML and custom coding) into a _starter template_. This is due to _starter templates_ providing drag and drop ability in the page editor only without further customization.

This is the reason we do not see head HTML, password-protected, and other customization features in the landing page settings.

As a workaround, you can create a website page, which does offer customization options for all HubSpot subscriptions, including free. You can add the script to the page head via the Settings \> Head HTML field.

If you wanted to add the script to header or footer HTML for landing pages, this would require a CMS Hub Professional/Enterprise or Marketing Hub Professional/Enterprise subscription.

I recognize that our knowledge base documentation is confusing regarding which features are available at the template level, I sincerely apologize for that. I’ve passed this feedback along internally to the proper team.

I hope this clarification helps!

Best,

Kristen
