How to Install Cookie Banner on Your website

Once you've created your cookie banner, you need to install it on your website to make it visible to visitors. This process involves copying a script code and placing it in your website's HTML to ensure the banner loads properly and can manage other tracking scripts.

Installation Steps

1. Access Your Account

Make sure you're registered and logged into your CookieForte account.

2. Navigate to Banners

Click on "Websites. and banners" in the top menu to view your created cookie banners.

3. Access Installation Settings

On the banner page, navigate to the "Install on website" section to find your installation code.

4. Copy the Banner Script

Copy the top script labeled "Cookie banner script" - this contains all the necessary code to display your banner.

5. Install on Your Website

In your website's HTML code, paste the copied script immediately after the <head> tag and above all other scripts. This positioning is crucial because it ensures the cookie banner executes first and can properly control other tracking scripts on your website.

<head>
<!-- Paste Cookie banner script here -->
<!-- Other scripts go below -->
</head>

Important Notes

  • Script placement is critical: The cookie banner script must load before other tracking scripts to effectively manage cookie consent
  • Test your installation: After installing, visit your website to verify the banner appears correctly
  • Script positioning: Always place the cookie banner script at the top of your script hierarchy to ensure proper functionality

Once installed, your cookie banner will automatically appear to website visitors, allowing them to manage their cookie preferences while ensuring your site complies with privacy regulations.