# Cookies and privacy

## The cookie question

Every visitor is asked once which cookies they allow besides the necessary ones (cart, account, language, form
protection): **Accept toate** (accept all), **Doar cele necesare** (only the necessary), both equally visible, or a
choice per purpose — **Statistică** (statistics) and **Marketing** — on the **Cookie-uri** page linked from the footer,
where they can change it at any time. The banner works without JavaScript.

**Marketing** also covers the affiliate cookie `syncshop_ref`: which affiliate's link the visitor came through, kept
for the programme's window (see [Affiliates](affiliates.md)). Without marketing consent it is never set, and it is
deleted when the consent is withdrawn.

The products a visitor opened (**Văzute recent**) are kept in the visit's session, which the shop needs anyway: no
cookie of their own, and they are gone when the visit ends.

**Statistică** also lets an order note the AI assistant whose answer brought the visitor (ChatGPT, Perplexity…; see
[Analytics](analytics.md#ai-traffic)). Without it the order notes nothing. Counting visits from assistants and pages
read by AI crawlers needs no consent: they are counts per day, with nothing about the visitor.

Every answer is kept as proof in the consent ledger: the choice, the policy version, when, and a keyed hash of the
address (never the address itself). A kept answer is never changed; a new one is added.

## Consent Mode and outside tags

The shop loads no scripts, fonts or icons from other servers. The page carries Google's Consent Mode v2 signals
(everything beyond the necessary denied until the visitor allows it, then updated from their choice), so any tag added
to the theme later gets only what the visitor allowed.

When you change your cookie policy, tick **Întreabă din nou toți vizitatorii** (ask all visitors again) in
**Setări → SEO**: older answers stop counting and the banner comes back for everyone.

## A customer's data

Customers download everything the shop keeps about them from their account (**Date și parolă → Descarcă datele
mele**): the account and addresses, orders and returns, reservations in store, the company they buy for, their subscriptions and saved cards (brand and last four digits only), their favourites, stock alerts and account activity, their newsletter address and consent history, their loyalty points history, and their
cookie choices, as one JSON file. On a customer's page, **Exportă datele clientului** (*Closes and reopens customer
accounts*) gives you the same file, for a request made by e-mail.

When you delete an account at its owner's request (see [Customer accounts](customer-accounts.md)), every part goes
with it: addresses, favourites, stock alerts, the newsletter address (also taken off the newsletter service), cookie choices, company membership; reservations lose the contact. Orders and invoices stay, no
longer tied to the account, because the law makes you keep them.

## Retention

The scheduled task *Șterge datele care nu mai sunt necesare* runs every night at 03:00:

| What | Kept |
| --- | --- |
| Integration logs, processed webhooks | 90 days |
| API call log, finished webhook deliveries | 30 days |
| Cookie choices (proof of consent) | 3 years |
| The contact on a finished reservation in store | 1 year, then only the products and dates |
| The IBAN given for a refund | 1 year after the return closes |
| A back-in-stock alert | unconfirmed: 7 days; sent: 30 days; still waiting: 1 year |
| The IP address and device in a customer's account activity | 90 days; the events themselves 2 years |
| The staff sign-in log | 1 year |
| The scrambled buyer address on an order credited to an affiliate | 90 days |
| A newsletter request never confirmed | 30 days |
| The proof of a newsletter subscription that ended | 3 years after the unsubscription |
| AI crawler hits per page (counts) | 13 months |
| Visits from AI assistants per page (counts) | 2 years |

Orders, invoices and the profit figures are never pruned.
