Cookie declaration

Keep visitors informed about the cookies your website uses.

CookieHub builds a cookie declaration from the cookies detected on your website and the details you’ve reviewed. Visitors can read it in the preference center, and you can embed it on your cookie or privacy page.

Built from your cookie dataIn the preference centerEmbed on any page
Cookie dataPublished
  1. Scan42 cookies detected
  2. Reviewcategories confirmed
  3. Publishdeclaration updated
CategoriesCookie declarationAnalytical cookies_ga400 days.example.com · Google LLCDistinguishes visitors so Google Analytics can count unique users._hjSession1 hour.example.com · HotjarHolds current session data for Hotjar.Necessary cookiesMarketing cookiesexample.com · example data
Dynamic cookie information

A cookie declaration built from your cookie data.

Many privacy and cookie rules require clear information about the cookies and similar technologies a website uses. CookieHub’s cookie declaration presents that information from the cookie data you’ve published, grouped by category.

  • From your cookie data

    Built from the cookies CookieHub has detected or you’ve added, with the categories and descriptions you’ve reviewed.

  • In the preference center

    Shown on the cookie declaration tab of the preference center, next to the visitor’s consent choices.

  • On your website

    Can also be embedded on another page, such as your cookie or privacy policy.

How it works

From detected cookies to a published declaration.

Scan results reach the declaration once they’re published — by you, or automatically with the Publish After Successful Scan setting.

  1. 01

    The cookie scanner finds cookies

    CookieHub crawls your website and records each cookie it detects, with its hostname, path and expiration.

  2. 02

    CookieHub suggests details

    Known cookies get a suggested category and description from the CookieHub Cookie Database; unknown ones go to Uncategorized.

  3. 03

    You review the details

    Assign uncategorized cookies, correct suggestions and add or edit descriptions in the dashboard.

  4. 04

    The published declaration updates

    After you click Save & Publish — or let successful scans publish automatically — visitors see the updated declaration.

What visitors can see

Clear details for every cookie.

The declaration lists your cookie categories and the cookies in each, so visitors can see what each category covers before they choose.

About cookies
  • Cookie nameThe name of each cookie, listed under its category.
  • CategoryThe category it belongs to, such as necessary, analytics or marketing.
  • ExpirationHow long the cookie stays in the visitor’s browser.
  • PurposeA description of what the cookie is used for.
  • Hostname and vendorThe hostname that sets the cookie and, where known, its vendor.
Embed on your site

Show the declaration on your cookie or privacy page.

Besides the preference center, you can place the declaration on any page of your website by adding one HTML element where it should appear. CookieHub fills it with your published cookie information.

  • Declaration element<div class="cookiehub-declaration"></div>
  • StylingBy default the declaration is an unstyled table that picks up your site’s styles. Add your own CSS to style it further.
  • Preference centerChoose in the dashboard’s customization settings whether the preference center shows the cookie declaration tab.
Cookie declaration/cookie-policy · example data
cookiehubNecessary365 days.example.com
_gaAnalytics2 years.example.com
_fbpMarketing3 months.example.com
intercom-idPreferences9 months.example.com
Each cookie is listed with its description
Review and edit

Keep the declaration accurate.

The declaration reflects the cookie data you publish, so it is only as accurate as your review. Manage cookies in the Cookies & Services tab of your domain.

Cookie management guideCookie scanner
  • CategoryChange the category of any cookie, including those suggested by the Cookie Database.
  • DescriptionAdd or edit the description visitors read for each cookie.
  • Hide from the declarationHide an automatically detected cookie from the declaration. Detected cookies can’t be deleted, only hidden.
  • Add a cookieAdd cookies the scanner can’t reach, with name, hostname, path, expiry and category. Cookies you add can be edited or deleted.
  • Save & PublishPublish your changes so the banner and declaration use them.
Languages

Cookie descriptions in your visitors’ languages.

The declaration appears in the preference center alongside the rest of the consent dialog, whose standard content and labels have built-in translations.

Cookie descriptions are added and translated separately: add a translation of each description for the languages you’ve set up, so visitors can read them in the same language as the dialog.

Languages
FAQ

Cookie declaration questions, answered.

A cookie declaration lists the cookies a website uses, grouped by category, with details such as each cookie’s purpose and expiry. It helps visitors understand what they are being asked to consent to.

Partly. The cookie scanner detects cookies and CookieHub suggests categories and descriptions from its Cookie Database, and published scan data can update the declaration. Unknown cookies stay Uncategorized and suggestions can need correcting, so review the data and add or edit cookies yourself where needed. The declaration shows what you publish. Cookie scanner

Yes. In the Cookies & Services tab you can change a cookie’s category, add or edit its description, or hide it from the declaration, then save and publish. Automatically detected cookies can’t be deleted, but cookies you add manually can be edited in full or deleted.

Yes. Add a div element with the class cookiehub-declaration to any page, such as your cookie or privacy policy, and CookieHub fills it with your published declaration. It also appears in the preference center. Cookie declaration documentation

Yes. The dialog’s standard labels have built-in translations, and cookie descriptions are translated separately: you can add a translation of each description for the languages you’ve set up. Languages

No. A cookie declaration covers transparency — clear information about the cookies your website uses — which is only one part of a consent and privacy setup. Consent collection, script control before consent and the legal requirements that apply to your business still need to be set up appropriately.

Cookie declaration

Give visitors a clear view of your cookies.

Scan your website, review the results and publish your cookie declaration from one CookieHub setup.

  • 14-day trial
  • No card required