# Collect proof of cookie consent

Once the DASTRA cookie consent widget is implemented on your website, the DASTRA Cookie Consent module also allows you to **collect** and **export proof of cookie consent**.

## Prerequisites

To do this, you must have implemented a DASTRA cookie consent widget on your website.

{% content-ref url="/pages/-M378oB2HodWBFfDdJsg" %}
[Implement a cookie consent widget](/en/features/gerer-le-consentement-aux-cookies/configuration-du-widget/implementez-un-widget-de-consentement-aux-cookies.md)
{% endcontent-ref %}

## Collect evidence of consent to cookies

Once the widget is implemented, DASTRA automatically collects proof of consent from visitors to your website.

To consult them, simply go to the "Consent" interface of the DASTRA cookie consent module.

<figure><img src="/files/WxEZ2q2J9SjotPsUDygo" alt=""><figcaption><p>"Consent" interface</p></figcaption></figure>

{% hint style="info" %}
From this interface, you can also customize the proofs of consent collected, export data, filter by date or cookie widget, among others.
{% endhint %}

Congratulations, you are now collecting proof of consent cookies!

The lifespan of the proof of consent is one year.

To make your site dynamic and truly take into account the consent of the user, go to the next section "go further on cookie consent":

{% content-ref url="/pages/-M4IkkyAbXfmeKH-g7Bb" %}
[Go further on cookie consent](/en/features/gerer-le-consentement-aux-cookies/configuration-du-widget/allez-plus-loin-sur-le-consentement-des-cookies.md)
{% endcontent-ref %}


---

# 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://doc.dastra.eu/en/features/gerer-le-consentement-aux-cookies/configuration-du-widget/collectez-les-preuves-de-consentement-cookies.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.
