# Newsletter

SyncSHOP collects newsletter subscribers with their consent and keeps them in the newsletter service you send
campaigns from: **Newsman** or **Klaviyo**. The campaigns themselves are written and sent there.

## Switching it on

In **Setări → Integrări** (Settings → Integrations), under **Newsletter**, open your service and fill in:

- **Newsman**: the user ID and API key (Newsman: *Settings → API*) and the ID of the list subscribers go into;
- **Klaviyo**: a private API key with write access to lists and profiles, and the list ID.

**Testează conexiunea** checks the key and that the list exists. With a service switched on, the shop offers the
newsletter in three places; without one, it offers it nowhere.

## How someone subscribes

- **The footer** of every page: an e-mail address and **Abonează-mă**.
- **Checkout**: an unticked box, *Vreau să primesc newsletterul*.
- **The customer account** (*Date și parolă*): subscribe or unsubscribe.

Each place shows what the person agrees to: offers and news by e-mail, confirmed from an e-mail, and unsubscribing at
any time in one click.

An address is subscribed only once its owner **confirms it** from the e-mail the shop sends (double opt-in). The link
opens a page with a **Confirmă abonarea** button, so a mail scanner that follows links confirms nothing, and it works
for 7 days. A signed-in customer's own confirmed account address needs no second confirmation. The shop answers every
request the same way, whether or not the address was already on the list, and sends one address at most three
confirmation e-mails a day.

Once confirmed, the address goes to the newsletter service with the date it was confirmed (Klaviyo gets it as already
consented, so it asks for no second confirmation). Leaving the newsletter takes it off there too.

## Leaving

From the confirmation e-mail's page, or the account page, **Dezabonează-mă** works in one click. The campaigns' own
unsubscribe links are the newsletter service's: someone who leaves from a campaign leaves there, and the service stops
writing to them.

## Admin → Newsletter

**Abonați la newsletter** (*Sees and exports newsletter subscribers*; Shop managers and Marketing start with it) shows
how many are subscribed, not yet confirmed and unsubscribed, and lists them with where they subscribed. A subscriber's
page shows the **consent history**, the proof you may be asked for: each request, confirmation and unsubscription, when,
from where, the wording the person agreed to, and a fingerprint of their IP address (never the address itself).

- **Dezabonează** takes someone off at their request (by e-mail or phone).
- **Exportă abonații (CSV)** downloads the confirmed subscribers (address, language, source, confirmation date).

A subscriber who couldn't be sent to the newsletter service is marked, and the shop tries again.

## Privacy

A customer's data download includes their newsletter address and consent history. Deleting the account deletes both,
and takes the address off the newsletter service. A request never confirmed is deleted after 30 days; the proof of a
subscription that ended is kept 3 years after the unsubscription.
