How can you add a notification through a plugin that the site uses cookies

Under current law, all sites are now required to notify visitors as soon as they enter for the first time that:

  • the site uses cookies (specify here what they are, leaving the user to accept or reject them)
  • If the site implements methods for collecting personal data (contact forms, newsletter forms, surveys or the possibility of creating accounts for users) we will have to provide information on the purpose of their use and storage.

In this article, I will show you how you can add a notice to new visitors on the site about the ones listed above.

Step 1.

To get started, you will need to install the free ” GDPR Cookie Consent ” plugin from Webtoffee. Once installed, you will find the following options in the side menu of the WordPress panel.

Step 2.

In the settings subpage, we will find the following window:

In the first sub-page of this page you will need to:

  • bifam started to activate notifications on the site page
  • we select the type of legislation (for Romania we leave the GDPR checked).
  • we choose the conditions under which the notifications will disappear (after pressing the accept button or after a certain period in which the user does not select any of the options).
  • After completing the settings on this page, click on “Update settings” and navigate to the next tab entitled “Customize the cookie bar”.

Step 3.

On the page “Personalize the cookie bar” we will enter:

  • a notification title and content. Content must be completed between <div> tags.
  • we will select the background and text colors, as well as the font type.
  • below you can choose how the notification div you want to appear (in the form of a banner, pop-up or track).
  • in the last 3 select inputs you will have to choose whether or not the user will be able to navigate the site page until the notification is accepted or rejected, as well as the possibility of using animations when the div appears or disappears.

Step 4.

Select the “Customize Buttons” sub-tab. Here we will find a submenu in which we can choose the text, color, size or action of the “accept”, “reject” and “see more” buttons (this will lead to the setting of cookies allowed by users).

The next “Advanced” sub-tab will only be used if you want to reset everything to the default mode. The penultimate tab contains a short guide on using shortcodes, and the last one shows the extra options that the paid version of the plugin brings. All that has been presented so far is strictly necessary to start using the plugin.

Step 5

Returning to the side menu of the WordPress control panel, we also find the following subpages:

  • the list of cookies on the site and their description. Here we also have the possibility to manually create descriptive texts to present a new cookie, in case it is not found in the list:
  • the possibility to view all categories of cookies, as well as to add a new category:
  • a text generator for new policies: