# Comment créer un cookie qui se dépose après consentement ?

## COMMENT PROCÉDER

1. Aller dans l'onglet Options de TagCommander et sélectionner l'onglet 'data storage' (stockage de données)&#x20;
2. Cliquer sur le bouton 'add data storage'&#x20;
3. Nommer le cookie, le rattacher au conteneur souhaité.&#x20;
4. Paramétrer sa durée de vie et son usage, à l'aide des menus déroulants.&#x20;
5. Lui affecter une catégorie de privacy&#x20;
6. Cliquer sur sauvegarder&#x20;
7. Aller à l'étape édition de TagCommander. Vous pouvez générer et déployer dès à présent votre conteneur. Le cookie est prêt à l'emploi.&#x20;

<figure><img src="/files/wPCv7iEArJalJoKUJtge" alt=""><figcaption></figcaption></figure>

## Downloads

{% file src="/files/IeBdCzJku23NUZRxSdF7" %}


---

# 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://community.commandersact.com/customer-success/francais-1/cookbooks-and-tutoriaux/consent-management/comment-creer-un-cookie-qui-se-depose-apres-consentement.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.
