Knowledge Base › Lightweight Cookie Notice › Cookie Notice

Configuring the Cookie Settings Window

The cookie settings window is the modal window opened by a button with the Open Cookie Settings action. It displays your cookie information and, if you created sections and categories, the toggles used by visitors to accept or reject each category.

The content options are in Cookie Notice → Options → Content → Cookie Settings.

Parts of the window

The cookie settings window on the front end with its parts labeled: logo and title, description header, a section with its toggle, two categories (one expanded with its description and cookie table), description footer, and the two buttons.

From top to bottom, the window displays:

  1. Header: the logo (optional) and the title.
  2. Description header: your introductory text.
  3. Sections: each section displays its name and a toggle. The sections are closed when the window opens. The visitor clicks the arrow of a section to open it and see its description and its categories.
  4. Categories: each category displays its name and its toggle. The visitor clicks the icon next to the name of a category to see its description and the table of its cookies.
  5. Description footer: your closing text.
  6. Buttons: up to two buttons.

Sections, categories, and cookies are created in their own menus. See How Sections, Categories and Cookies Work Together.

If you have not created any section, the window displays only the header, the two descriptions, and the buttons. This is the simplest way to show a cookie policy without sending visitors to another page.

Content options

OptionDescription
Logo URLThe URL of an image displayed in the header of the window. Leave it empty to display no logo.
TitleThe title of the window. Default: “Cookie Settings”.
Description HeaderThe text displayed above the sections.
Description FooterThe text displayed below the sections.
Button 1 Text, Button 2 TextThe labels of the two buttons.
Button 1 Action, Button 2 ActionWhat happens when the button is clicked.
Button 1 URL, Button 2 URLThe destination URL. Used only when the action is Redirect to URL.

Description Header and Description Footer accept these HTML tags: p, a, strong, br, ol, ul, li.

To add a logo, upload the image in Media → Add New, copy its file URL, and paste it in Logo URL.

Buttons

The available actions for the two buttons are:

ActionResult
DisabledThe button is not displayed.
Accept CookiesSaves the toggles as the visitor set them, then closes the window and the notice.
Close Cookie SettingsCloses the window without saving the acceptance. The cookie notice stays on screen.
Redirect to URLSends the visitor to the URL entered in the related URL option.
Accept All CookiesEnables all categories, saves, then closes the window and the notice.
Reject All CookiesDisables all categories, saves, then closes the window and the notice.

With the default settings, Button 1 is “Close” (Close Cookie Settings) and Button 2 is “Accept” (Accept Cookies).

If you use categories, a clear configuration is:

ButtonTextAction
Button 1Save preferencesAccept Cookies
Button 2Accept allAccept All Cookies

See Understanding Button Actions for the details of each action.

How the toggles work

Category toggles

Each category has a toggle with two positions:

  • On: the category is accepted.
  • Off: the category is rejected.

When the window opens for a visitor who has not made a choice, each toggle is in the position set by the Initial State option of the category.

A category with Active Toggle off displays a disabled toggle that visitors cannot change. Use it for categories that cannot be rejected, such as necessary cookies.

Section toggles

Each section has a toggle that changes all the categories of the section at once. The section toggle has three positions:

PositionMeaning
OnAll the categories of the section are on.
MixedSome categories of the section are on and some are off.
OffAll the categories of the section are off.

The section toggle is disabled when none of the categories in the section has Active Toggle on.

The colors of the four toggle states are set with Toggle On Color, Toggle Off Color, Toggle Mixed Color, and Toggle Disabled Color in Options → Style → Cookie Settings.

When the selection is saved

Changing a toggle does not complete the consent. The visitor’s choice is recorded when the visitor clicks a button with the Accept Cookies, Accept All Cookies, or Reject All Cookies action.

Cookie tables

When a category has cookies assigned in the Cookies menu, a table with those cookies is displayed inside the category. The columns of the table are set with Cookie Table Columns in Options → Advanced → Content. See Listing Your Cookies.

Mask

By default a mask is displayed behind the window, so visitors cannot interact with the page while the window is open. To change it, go to Options → Style → Cookie Settings and use Mask, Mask Color, and Mask Opacity.

Example: a cookie policy without categories

  1. Go to Options → Content → Cookie Settings.
  2. In Title, enter “Cookie Policy”.
  3. In Description Header, enter the text of your policy, for example:
<p><strong>What are cookies</strong></p>
<p>Cookies are small text files saved in your browser when you visit a website.</p>
<p><strong>Cookies used on this site</strong></p>
<ul>
<li>Session cookies required to log in.</li>
<li>Analytics cookies used to count the visits.</li>
</ul>
  1. Clear the Description Footer option, or use it for your contact details.
  2. Set Button 1 to “Close” with the Close Cookie Settings action, and Button 2 to “Accept” with the Accept Cookies action.
  3. Click Save settings.
The Cookie Settings section of the Content tab, with the Logo URL, Title, Description Header, Description Footer, and button options.

Related articles