For the complete documentation index, see llms.txt. This page is also available as Markdown.

Classify cookies by consent categories

Learn how to classify cookies by consent categories.

In its draft recommendation on cookies and other trackers (in French), the CNIL recommends that you list and categorize the cookies on your website according to whether or not they require consent.

For more information on the CNIL recommendations on cookies, read the article "The CNIL's cookie recommendations explained to your boss" (in French).

In Dastra, the category of a cookie is the category of the service it belongs to: you choose the purpose of each service, and all its cookies inherit it. The available categories are:

  • Strictly necessary: cookies that are exempt from consent by their nature, for example session or consent cookies;

  • Preferences;

  • Analytic;

  • Marketing;

  • Social network;

  • Other.

The purposes of cookies

Choose the purpose of a service

  1. Open the banner: Cookie consent > Banners, then click the banner.

  2. Expand the Services section.

  3. Click the service to classify. In the Service infos tab, choose a value in the Service's purpose field.

  4. Confirm, then click Save changes.

The Services section of the banner editor, with the purpose shown under the name of each service
The purpose of each service is shown under its name
The service form with the Service's purpose field
The "Service's purpose" field in the service form

A service cannot be saved with the "Unclassified" purpose: choose one of the categories above.

You decide case by case whether consent must be requested for a service with the Request consent for these cookies? (display buttons) option. It is disabled for the Strictly necessary category.

Once all your cookies belong to a service classified by category, you can configure the banner.

Set up the cookie consent banner

Last updated

Was this helpful?