How to Add a “Cookie Preferences” Option to Your Website Footer

Edited

Adding a “Cookie Preferences” or “Cookie Settings” control to your website footer is a recommended configuration. It gives visitors a persistent, easy-to-find way to reopen the consent interface and change their choices at any time.

Add the footer link

Add this element to your site-wide footer:

<a href="#" id="id-open-settings-cc">Cookie Preferences</a>

This is not a standard navigation link and does not point to a separate page. It acts as a trigger: when clicked, it opens the Captain Compliance consent preferences interface using JavaScript. The link destination (href="#") is intentionally non-navigational.

You can change the visible text, for example to “Cookie Settings” or “Privacy Preferences”, as long as the element ID stays the same.

Verify

  1. Load the site as a visitor.

  2. Click the “Cookie Preferences” link in the footer.

  3. Confirm that the consent preferences interface opens immediately.

If the interface opens, the configuration is complete.

Disable the minimized cookie icon

With the footer link in place, many companies disable the minimized cookie icon, because visitors already have a consistent way to reach their settings on every page.

In the Captain Compliance app:

  1. Select Consent banner in the sidebar, and then select your domain.

  2. Open the configuration’s menu (the three dots) and select Open Playground.

  3. Select the Minimized icon scene.

  4. Set Display Minimized Icon to No.

The Minimized icon scene with Display Minimized Icon set to No

  1. Select Save, and then select Publish.

Repeat these steps for each configuration that should not show the icon. For more on the editor, see How to Customize Your Consent Banner in the Banner Editor.

Related articles