# Create a category for purpose

You can create your own categories of purposes for your web or app consent notices. &#x20;

This will make the 2nd layer of your banner, dedicated to the purposes, easier to read, as they will be grouped into large purpose families

Go to the **Consent Notices (1)** section and step **1.** **Regulations (2).**

Go to GDPR regulation then click on **Edit Vendors & Purposes (3)**

{% hint style="info" %}
Category management is only available for GDPR. CPRA offers default mandatory categories that cannot be customized.
{% endhint %}

<figure><img src="https://support.didomi.io/hs-fs/hubfs/image-png-Apr-07-2025-02-09-33-7884-PM.png?width=688&#x26;height=300&#x26;name=image-png-Apr-07-2025-02-09-33-7884-PM.png" alt=""><figcaption></figcaption></figure>

1. Scroll down to the **Purposes** section and click on **Add category** (for example, perhaps you'd like to create a category called "Personalised Ads").

   <figure><img src="https://support.didomi.io/hs-fs/hubfs/New%20console%20flow/Capture%20d%E2%80%99%C3%A9cran%202023-03-29%20%C3%A0%2018.27.05.png?width=688&#x26;height=291&#x26;name=Capture%20d%E2%80%99%C3%A9cran%202023-03-29%20%C3%A0%2018.27.05.png" alt=""><figcaption></figcaption></figure>
2. Add a language,
3. Add a name and description.
4. Click on **Save**.

![Screenshot 2023-03-10 at 16.54.36](/files/lAtBWZneJajVUtGoWylL)

You can also click on "Expand category when showing the list of purposes" if you want the category to be by default 'unfolded' on the 2nd layer of the banner.\
\
In order for the category to be displayed in the preferences view (i.e., second layer of the notice) it must contain at least one purpose.

To add a purpose, drag and drop the purpose under the desired category. Purposes available for drag and drop will appear according to the vendors selected.

<figure><img src="https://support.didomi.io/hs-fs/hubfs/Screenshot%202023-03-10%20at%2017.01.41.png?width=688&#x26;height=151&#x26;name=Screenshot%202023-03-10%20at%2017.01.41.png" alt=""><figcaption></figcaption></figure>

As mentioned, your category will appear on the second layer of your notice or"preferences view". Users will be able to accept all the purposes included in this category in a single click. They can also make more granular choices by accepting/refusing purpose by purpose. <br>

<figure><img src="https://support.didomi.io/hs-fs/hubfs/Knowledge%20Base%20Import/downloads.intercomcdn.comio2004827135e8fb1bf7d2b86acc19c22d4Capture+d%E2%80%99e%CC%81cran+2020-04-14+a%CC%80+16.19.54.png?width=562&#x26;name=downloads.intercomcdn.comio2004827135e8fb1bf7d2b86acc19c22d4Capture+d%E2%80%99e%CC%81cran+2020-04-14+a%CC%80+16.19.54.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.didomi.io/consent-management-platform-cmp/frameworks-regulations/general-data-protection-regulation-gdpr/create-a-category-for-purpose.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
