Notion Integration (Power-up)

How to integrate CookieHub to Notion Websites

If you've just built your Notion websites with us, then there is a high chance that you want to add a cookie consent setting to your website. Don't worry, we'll teach you how to do that in this guide.

This guide's example is CookieHub. We're going to teach you everything you need to know to connect CookieHub to Notion websites.

Didn't make your website yet? Let us tell you that building a Notion website is 100% free, and you don't even need to code. Oh, and did we mention it? Our websites are built instantly.

How to connect CookieHub to Notion websites

You simply have to add your Notion website's domain to CookieHub - that's all. Whether you have a '' or a '' domain, both options work just fine.

We've started the guide assuming that you've added your domain to CookieHub. Let's get going with the guide!

1. Select your domain

First of all, go to "My Domains" in CookieHub and click "Details" on the domain of the website that you've built with and Notion.

how to integrate cookiehub to notion websites

Upon clicking on "Details", you will get to the "General information" section in the settings.

2. Copy the integration Code

For the second step, you have to click on "Integration code" in the menu visible on the left side of the screen.

how to integrate cookiehub to websites

At the "Production" section, you will see this large box full of code. Go ahead and copy all of that code.

To make sure that you're fully copying the code, click anywhere within the box, hit CMD/CTRL + A, and then hit CMD/CTRL + C in order to copy all of the text.

3. Go to's custom code

Now you'll have to go to your Dashboard.

Once you've selected your desired website that you want to add the cookies to, go to the "Custom Code" section. custom code section

In order to see the screen like in the image above, hit the "Site customization" button and select "Custom Code".

4. Paste the CookieHub code

You'll now see the custom code box being empty. Paste the code that you've copied at the previous step.

how to embed cookiehub

Pasted your code? Nice! Remember to hit "Save changes" in order for the cookies to show up on your website.

Once you're done adding your code and saving it, go to the public website built with Notion and, and you'll see the CookieHub integration.

connect cookiehub to notion websites

As you can see in the image above, the CookieHub to Notion integration works just perfect: now, there is a cookie consent at the bottom of our website built with and Notion. That's pretty nice!

How to connect CookieHub to Notion websites

We get it, the guide above may be too long for those of you who don't really have much time. That's why we've made this 30-second CookieHub to Notion guide. Here's what you need to know in order to add CookieHub to your Notion/ website:

  1. Select a domain in CookieHub
  2. Copy its cookie integration code
  3. Go to's "Custom code" section
  4. Paste your code and save changes

Connecting your CookieHub account to Notion-built websites is pretty easy. All you have to do is copy and paste some code!

If you found this guide useful, then feel free to check out our library of guides on how to use Notion. Thank you for reading this!

Got any other question?
Need help with anything else? Use the live chat button in the lower right corner → we'll do our best to clarify things for you!
Back to all the guides