When you embed the Aymar Agents widget on your website (see **[Web widget](/en/guides/widget-web/)**),
the code runs in YOUR visitor's browser, not ours — so whatever it stores counts as storage on YOUR
site, and your own cookie policy needs to declare it. This page tells you exactly what it is, what it's
for, and what to copy.

## What it stores

### Cookie: visitor identifier

The widget creates a single cookie, on your own domain (first-party — never a third party's), **only
when the visitor opens the chat** (not when the page loads):

| Name | Purpose | Type | Duration | Exempt from consent? |
| --- | --- | --- | --- | --- |
| `aymar_widget_visitor_id` | Recognise the same visitor across messages and page reloads, to keep the conversation with the assistant going | First-party, technical | 365 days | Yes — strictly necessary for the service the visitor requested by opening the chat |

It is not used for advertising or to build a profile of the visitor beyond that conversation.

### Local browser storage (no cookie)

The widget also keeps a small piece of the ongoing conversation state in the visitor's browser
`localStorage` (conversation id, whether an AI or a person from your team is answering, and the last
messages already visible to the visitor) so it can be restored if the page reloads. It is discarded
automatically, with nothing for anyone to delete, after 7 days without activity. This counts the same
as a cookie for your policy (the European Data Protection Board treats it the same way in its
Guidelines 2/2023) and serves the exact same purpose as the cookie above: nothing is shared with third
parties or used for advertising.

### Voice mode

If you enable the **[voice widget](/en/guides/widget-voz/)** on your site, the call is a direct WebRTC
connection to the voice server configured for your account — that connection sets no cookie and uses no
`localStorage`.

## What you need to do

1. **Add the row from the table above** to your own cookie policy (copy it as-is).
2. **If your site already has a cookie consent manager** (a banner with categories), configure the
   widget as a **necessary/technical** cookie — it doesn't require the visitor to accept an analytics
   or marketing category to be able to chat, because it is only created when the visitor themselves
   requests the service (by opening the chat). If your manager blocks every script until consent is
   given, load the widget snippet only after that consent, or after the visitor's own click on the chat
   icon.
3. No extra notice is needed from you: the widget itself already identifies the assistant as AI in the
   conversation (an obligation under Article 50 of the EU AI Act).

## See also

- **[Web widget](/en/guides/widget-web/)** — installing and configuring the widget.
- **[Voice widget on your site](/en/guides/widget-voz/)** — voice mode, with no cookies.
- **[Legal](/en/legal/)** — the portal's legal notice and the link to Aymar Agents's cookie policy.