You must block the use of cookies on the site until visitors agree to the use of cookies in accordance with the GDPR policy.

We will show you one of the easiest ways how you can add a banner (of consent to the use of cookies) to your website in this manual.

The task will be completed in 3 stages:
1. Obtaining the banner code on the site
2. Installing the banner code on your site.
3. Checking the operation of the banner on your site.

Obtaining the banner code

1. Register on the service
Click on the “Sign up” button in the upper right corner and enter your email and password. After registration, click on the link in the confirmation email:

2. Go to your account on the website
Click on the “Start generating” button:

In the settings, select “Website”; enter the domain of the site; select the language of the site and click on “Start generating”:

3. Click on the “Generate Now” button in the “Cookie Solution” field:

4. Set up the desired design and structure of the banner on consent to use Cookies and click “Next”:

5. Return to your personal account in service
Click on the embed button:

6. Click on the “Copy” button:

You now have a banner code.

Installing the banner code on your site

  1. Go to your account.
  2. Open the “Websites” – “Pages” section and click on the “Set up” button of the site on which you want to set the consent banner using cookies:
  3. Select the “More” settings tab. Paste the banner code into the “Add HEAD code” field and save the settings: 

Now the banner has been added to the site.

Checking the operation of the banner

  1. Clear all cookies in the browser where you plan to check. You can do this according to this instruction. Alternative way – use incognito browser mode.
  2. Go to any page of your site. It should display a banner. Do not click “Accept” now: 
  3. Press Ctrl + Shift + I (for Windows) or Shift + Cmd + I (for MacOS) – the browser will open the console. In the console, select “Applications”, “Cookies”, then – the site – and check if cookies are displayed. Select your domain from the list in field 3 – cookies should not be displayed in field 4:
  4. Click on the “Accept” button in the banner without closing the console. Cookies should appear immediately:

If everything happens as shown above, the banner works correctly.

Rate article

1 star2 stars3 stars4 stars5 stars (No votes)