Consent

Cookie declaration

Add an always up-to-date table of your site's cookies to your privacy page with one script tag, or link to the hosted page. It updates after every scan.

Most privacy laws expect you to tell visitors which cookies your site uses and why. The cookie declaration does this for you: a table of your cookies by category that updates itself after every scan.

What it shows

For each category (necessary, preferences, analytics and marketing), the declaration lists:

ColumnExample
Name_ga
ProviderGoogle Analytics
PurposeTells visitors apart to count visits
Duration2 years
Domain.example.com

It also includes a short explanation of each category and a link that opens the preferences panel, so visitors can change their choice from your privacy page.

The list comes from your latest scan and any categories you changed in your dashboard. Cookies still marked Unclassified are left out until you pick a category for them.

Embed it on your privacy page

  1. In your dashboard, open the site and copy the embed code from the Overview, under Cookie declaration. It looks like this:
<script src="https://allowedit.com/d/<siteId>.js"></script>
  1. Put it where the table should appear on your page, for example under a "Cookies" heading in your privacy policy. It renders in place, right where the script tag is.
<h2>Cookies we use</h2>
<p>We ask for your consent before setting any cookie that isn't necessary.</p>
<script src="https://allowedit.com/d/<siteId>.js"></script>
  1. Publish the page.

On platforms with a page builder, use an HTML or embed block in the right spot of the page:

  • WordPress: a Custom HTML block.
  • Shopify: the HTML view of the page editor, or a custom liquid section.
  • Webflow: an Embed element.
  • Wix: an Embed HTML element.
  • Squarespace: a Code block.

Styling

The table uses your site's font and inherits text colour, and has light borders, so it fits most designs. It's plain HTML inside your page, not a frame, so your own CSS can adjust it further.

Every site also has a hosted declaration page on allowedit.com. You'll find its link in your dashboard, under Declaration. Use it when you can't add scripts to your privacy page, or to link from places like an app store listing or an email.

How it stays up to date

  • The declaration changes when you publish after a scan or after changing a cookie's category.
  • New cookies found by a scan appear in your dashboard first. We email you when a scan finds new ones, so you can check their category before they show up in your declaration and preferences panel.
  • Like the banner, the declaration is served from the edge and cached, so it adds no load to your site.

On the Agency plan

With Agency, the declaration can show your agency's name instead of allowedit's (white label). See allowedit for agencies.

More about the feature: Cookie declaration.

Still stuck? Email support@allowedit.com with your site's address and what you see.