Skip to main content

Setting up a cookie banner in Onepage

In this article, you will learn how to create or integrate a cookie banner in Onepage.

Written by Jacob
Updated today

There are several ways to add a cookie banner to your landing page.

Starting with the Standard plan, you have the option to use our enhanced cookie banner (GDPR consent solution).

The Free and Essential plans, on the other hand, include a notification banner. This simply informs visitors that cookies are used but does not offer an active consent option.

The Essential plan also allows you to insert custom code. This enables you to integrate an external cookie banner service into your site.

If you are unsure which solution is suitable for your site, it is best to consult with your data protection officer.

🎬 At the end of the article, you'll find our latest video tutorial!


Setting up the cookie banner

Step 1: Open cookie banner settings

Open your project in Onepage and go to Project SettingsCookie banner.

Step 2: Select cookie banner type

Three types are available: "Notification", "Compact" or "Advanced".


Notification: The "Notification" option is available in all plans, including the Free plan. However, the Free plan does not allow you to add your own code. Therefore, it cannot be used in the EU with cookies that require consent. In this case, you will need to upgrade to the Essential plan to integrate an external cookie banner via custom code and use the site accordingly.

Compact / Advanced: The "Compact" and "Advanced" banners are available in the Standard, Advanced and Expert plans.

📌 Please note: The option to block third-party content is available in the Advanced and Expert plans. You can view our current plans and their included features at any time on our pricing page.

⚠️ Important: In the EU, you should use the extended cookie banner. This allows you to flexibly adjust the settings to suit your needs.

If you are unsure which settings to use, it is best to consult your data protection officer.

Step 3: Save

Once you have selected the cookie banner type, click "Save Changes".


Customize cookie banner

Our cookie banner offers a range of options and features that allow you to customize it to your preferences. Let's take a closer look.

Step 1: Customize the Cookie Banner Content

The "Title" and "Description" fields allow you to add the necessary text to your banner or edit the existing text.

Step 2: Adjust settings

The "Block third-party content" option allows you to block external elements, such as videos, maps, and custom code. The page must be scanned for the affected elements to be detected.

The scanning process can take anywhere from a few seconds to several minutes, depending on the size of your project.

Once the scan is complete, you can view the "Third party content".


Once you publish your website, a "consent overlay" will appear next to the relevant elements. This only takes effect if the visitor ignores the cookie banner or rejects the necessary cookies.

Step 3: Customize the button

In the "Button" field, you can change the text for the "Accept" button.

📌 Please note: This option is only available in the "Notification" banner.

Step 4: Customize your Cookie Policy

With the "Cookie Policy" option, you can add the URL to your privacy policy or other required legal documents.

Please ensure you enter the full URL to your legal document. For example: https://yourwebsite.com/privacy


You can link up to two documents here.

Step 5: Change the position

You can set the position of your cookie banner. There are five options to choose from: left, middle, right, stretched and centered.

Step 6: Change Color

There are 6 color options to choose from. Please note that the specific colors are determined by your project settings.


You can customize your colors by opening your page and going to DesignColor.


If needed, you can activate the "Same color button" option.

If you enable the "Block page scroll" option, the visitor must either accept or reject the cookie banner before they can interact with your page. This is particularly useful in combination with the centered position.

The "Align bullet left" option lets you set the position of the cookie banner's lock icon.

By default, this icon appears in the bottom right corner of the screen after the cookie banner has been accepted or rejected, allowing the visitor to change their consent.

Step 7: Edit cookies

You can now specify which cookies should be enabled by default.

📌 Please note: This tab is only available in the "Compact" and "Advanced" banners.

You can also scan your website or manually add a cookie if it is not detected by the scan.

Finally, it is possible to edit a specific cookie by clicking on it.

📌 Please note: Please always make sure that you save your changes and click "Update" on your page to ensure that your changes are applied to the published page.


How to integrate cookie external banners

To integrate an external cookie banner, you can create it using a service like Cookiebot and then insert it into OnePage using custom code.

You can learn how to add custom code in this article.

📌 Please note: It may take up to 24 hours for the banner to become active.


Video Tutorial

For a clearer overview of the process, you can also watch our video tutorial below:


💡Do you have any feedback concerning this article? Please let us know through our live chat or at support@onepage.io, so we may keep it up to date. Thank you! 🙂

Did this answer your question?