Beta. consent-kit is at 0.x: expect breaking changes between releases, and treat everything it generates as a draft. Report a problem or share feedback.

Registry playground

Edit a declaration and see the generated outputs. Change the privacy.registry.yaml below and consent-kit validates it and writes the banner configuration, the Content-Security-Policy, a privacy policy draft and the cookie table from it. It all runs in your browser; nothing you type leaves this page.

Start fromThree errors to fix, with line numbers and links to the rules.

Results update as you type. Registry reference

Valid. 3 purposes, 2 of them ask for consent, so the banner has 2 toggles. 5 artefacts declared, some written by the plausible preset.

Problems

What the validator says, with the line it is about. The structure is checked first; the rules about meaning run once it is sound. Every rule

No problems. Every rule passed.

Banner configuration

The CookieConsent configuration consent-kit generates: one category per consent purpose, one service per third party.

Your privacy choices

We only use optional cookies and similar technologies if you agree. You can change your choice at any time.

  • Strictly necessary

    Always on

    Needed for the site to work. These are always on and do not require consent.

    Category necessary

    Cookies: tn_session (30 days), cc_cookie (182 days)

  • Visitor statistics

    Off until accepted

    Counts page views with Plausible, without cookies, so I can see which features people use.

    Category analytics, services: Plausible Analytics (plausible)

  • Tutorial video

    Off until accepted

    Loads the getting-started video from YouTube, which then receives your IP address.

    Category video, services: YouTube (youtube)

Opt-in: every optional category starts off. Revision 1; a Global Privacy Control signal counts as a rejection.

The configuration as JSON
{
  "mode": "opt-in",
  "revision": 1,
  "respectGpc": true,
  "autoClearCookies": true,
  "manageScriptTags": true,
  "guiOptions": {
    "consentModal": {
      "layout": "box",
      "equalWeightButtons": true,
      "flipButtons": false
    },
    "preferencesModal": {
      "layout": "box",
      "equalWeightButtons": true,
      "flipButtons": false
    }
  },
  "categories": {
    "necessary": {
      "enabled": true,
      "readOnly": true
    },
    "analytics": {
      "enabled": false,
      "readOnly": false,
      "services": {
        "plausible": {
          "label": "Plausible Analytics"
        }
      }
    },
    "video": {
      "enabled": false,
      "readOnly": false,
      "services": {
        "youtube": {
          "label": "YouTube"
        }
      }
    }
  },
  "language": {
    "default": "en",
    "translations": {
      "en": {
        "consentModal": {
          "title": "Your privacy choices",
          "description": "We only use optional cookies and similar technologies if you agree. You can change your choice at any time.",
          "acceptAllBtn": "Accept all",
          "acceptNecessaryBtn": "Reject all",
          "showPreferencesBtn": "Manage preferences"
        },
        "preferencesModal": {
          "title": "Privacy preferences",
          "acceptAllBtn": "Accept all",
          "acceptNecessaryBtn": "Reject all",
          "savePreferencesBtn": "Save my choices",
          "closeIconLabel": "Close",
          "serviceCounterLabel": "Service|Services",
          "sections": [
            {
              "title": "Strictly necessary",
              "description": "Needed for the site to work. These are always on and do not require consent.",
              "linkedCategory": "necessary",
              "cookieTable": {
                "headers": {
                  "name": "Name",
                  "provider": "Provider",
                  "duration": "Duration",
                  "purpose": "Purpose"
                },
                "body": [
                  {
                    "name": "tn_session",
                    "provider": "Tidy Notes (example)",
                    "duration": "30 days",
                    "purpose": "Keeps you signed in."
                  },
                  {
                    "name": "cc_cookie",
                    "provider": "Tidy Notes (example)",
                    "duration": "182 days",
                    "purpose": "Stores your privacy choices."
                  }
                ]
              }
            },
            {
              "title": "Visitor statistics",
              "description": "Counts page views with Plausible, without cookies, so I can see which features people use.",
              "linkedCategory": "analytics"
            },
            {
              "title": "Tutorial video",
              "description": "Loads the getting-started video from YouTube, which then receives your IP address.",
              "linkedCategory": "video"
            }
          ]
        }
      }
    }
  }
}

Content-Security-Policy

The header for your pages. Every origin in it comes from a declared artefact; anything looser is listed as a deviation.

Strict Sent as Content-Security-Policy.

default-src 'none';script-src 'self' https://plausible.io;style-src 'self';font-src 'self';img-src 'self';connect-src 'self' https://plausible.io;frame-src 'self' https://www.youtube-nocookie.com;media-src 'self';worker-src 'self';manifest-src 'self';object-src 'none';base-uri 'self';form-action 'self';frame-ancestors 'none';upgrade-insecure-requests ;

No deviations: the policy is as strict as consent-kit makes it. Every origin in it comes from a declared artefact.

Privacy policy draft

Written from the file with consent-kit's phrase library, in the default locale.

Unreviewed draft. Not legal advice. Generated from the file above with consent-kit's phrase library. No lawyer has reviewed this text for your app; have it reviewed before you publish it.

Unreviewed draft: this document contains 52 generated text passage(s) that have not been legally reviewed. Do not publish it without review.

Privacy policy

1. Controller

The controller responsible for processing your personal data within the meaning of the General Data Protection Regulation (GDPR) is:

Tidy Notes (example)
Example Street 1, 10115 Berlin, Germany
Contact: privacy@tidynotes.example

2. Purposes and legal bases of processing

We process personal data for the purposes listed below. They are grouped by legal basis.

Consent (Art. 6(1)(a) GDPR)

We process the following data only if you have given your consent. You can withdraw your consent at any time; see the section on withdrawing your consent.

Visitor statistics

Counts page views with Plausible, without cookies, so I can see which features people use.

  • Categories of data: Pages viewed
  • Storage period: 2 years
  • Recipients: Plausible Analytics
Tutorial video

Loads the getting-started video from YouTube, which then receives your IP address.

  • Categories of data: IP address
  • Storage period: Only for the duration of the session
  • Recipients: YouTube
Legitimate interests (Art. 6(1)(f) GDPR)

We process the following data on the basis of our legitimate interests. The interest we pursue is stated for each purpose. You have the right to object to this processing; see the section on your rights.

Signing in and remembering your choices

Keeps you signed in and remembers your privacy choices.

  • Categories of data: Sign-in session, Your privacy choices
  • Storage period: 182 days
  • Recipients: none
  • Legitimate interest pursued: Running the app you signed up for and respecting the choices you made.

3. Recipients and processors

We use the following service providers, which receive personal data for the purposes stated.

Service providerCountryPurposesPrivacy information
Plausible Analytics (Plausible Insights OÜ)Estonia (EE)Visitor statisticshttps://plausible.io/privacy
YouTube (Google Ireland Limited)Ireland (IE)Tutorial videohttps://policies.google.com/privacy

4. Transfers to third countries

None of the service providers listed above is located outside the European Union (EU) or the European Economic Area (EEA).

5. Cookies and similar technologies

This website uses cookies and similar technologies, such as browser storage, scripts and embedded content. Technologies that serve a purpose based on consent are only used after you have agreed to that purpose.

They are listed with their purpose and duration here: [Cookies and similar technologies: overview](cookies.en.md).

6. Your rights

Under the GDPR you have the following rights with regard to your personal data, subject to the conditions set out in the provisions cited:

  • the right of access to your personal data (Art. 15 GDPR)
  • the right to rectification of inaccurate data (Art. 16 GDPR)
  • the right to erasure (Art. 17 GDPR)
  • the right to restriction of processing (Art. 18 GDPR)
  • the right to data portability (Art. 20 GDPR)
  • the right to object, on grounds relating to your particular situation, to processing based on Art. 6(1)(e) or (f) GDPR (Art. 21 GDPR)
  • the right to withdraw a consent you have given at any time (Art. 7(3) GDPR)
  • the right to lodge a complaint with a supervisory authority (Art. 77 GDPR)

To exercise your rights, contact us at privacy@tidynotes.example.

7. Withdrawing your consent

You can withdraw a consent you have given at any time with effect for the future. The withdrawal does not affect the lawfulness of processing carried out before it (Art. 7(3) GDPR). To withdraw, change your choice in the privacy settings of this website or contact us at privacy@tidynotes.example.

This applies to the following purposes:

  • Visitor statistics
  • Tutorial video

When you make or change a choice in the privacy settings of this website, we keep a record of it as proof of your consent: the random identifier of your choice that is stored in your browser, which of the purposes above you accepted or refused, the version of this privacy information and the time of your choice.

8. Right to lodge a complaint with a supervisory authority

You have the right to lodge a complaint with a data protection supervisory authority, in particular in the Member State of your habitual residence, your place of work or the place of the alleged infringement (Art. 77 GDPR).

The supervisory authority responsible for us is:

Example Data Protection Authority
https://dpa.example

9. Automated decision-making, including profiling (Art. 22 GDPR)

We do not use automated decision-making, including profiling, within the meaning of Art. 22 GDPR.


Version of this document (policy hash): 05f89156fbe36023348d815a24317144f82dafa882c4fc8e51fe381319acd2eb
Revision: 1

Cookie table

Every cookie, storage entry, script, frame and endpoint, with its purpose and whether it needs consent.

Unreviewed draft. Not legal advice. Generated from the file above with consent-kit's phrase library. No lawyer has reviewed this text for your app; have it reviewed before you publish it.

Unreviewed draft: this document contains 17 generated text passage(s) that have not been legally reviewed. Do not publish it without review.

Cookies and similar technologies: overview

This overview lists every cookie, storage entry, script, embedded content, pixel and endpoint that this website uses, and every stylesheet, font and media file it loads from another provider.

TypeName or patternDurationPurposeService providerRequires consent
Cookiecc_cookie182 daysSigning in and remembering your choices: Stores your privacy choices.—No
Cookietn_session30 daysSigning in and remembering your choices: Keeps you signed in.—No
Scripthttps://plausible.io/js/pa-XXXXX.js—Visitor statisticsPlausible AnalyticsYes
Embedded content (iframe)https://www.youtube-nocookie.com/embed—Tutorial videoYouTubeYes
Network endpointhttps://plausible.io/api/event—Visitor statisticsPlausible AnalyticsYes

Version of this document (policy hash): 05f89156fbe36023348d815a24317144f82dafa882c4fc8e51fe381319acd2eb
Revision: 1