# Emarsys integration: send popup signups to a contact list

Canonical URL: https://support.optimonk.com/en/articles/emarsys-integration

With the Emarsys integration, everyone who signs up through your OptiMonk popup is added to an Emarsys contact list automatically — no exports, no copy-paste.

**Where this is set up.** On the campaign's **Integrations** tab: Emarsys is in the wizard's provider list. You connect your Emarsys account once; after that the connection is available to your other campaigns too, under *Your connected accounts*.

**Before you start:** you need a campaign whose popup is already built (the field mapping lists the input fields of your popup) and an Emarsys API user.

---

## Step 1 — Connect your Emarsys account

1. In Emarsys, go to **Admin** > **Security Settings** > **API users**. Create an API user there, or open an existing one, and keep its username and secret at hand.
2. In OptiMonk, open **Campaigns** in the left menu and click your campaign.
3. Open the **Integrations** tab and click **Add integration**.
4. **Provider** step: click **Emarsys** (or type it into *Search providers…*). If you have already connected an Emarsys account, it is listed under **Your connected accounts** — click it and continue with Step 2.
5. **Account** step: enter the API user's name in **Username** and its key in **Secret**. Optionally give the connection a name in **Name (optional)**, then click **Connect**.

If you see *Connection failed. Check the credentials.*, check the username and the secret on the API users page and retry.

---

## Step 2 — Choose the list and the opt-in

On the **Settings** step:

- **List** — the Emarsys contact list new subscribers join.
- **Double opt-in** — tick this checkbox if new subscribers should go through Emarsys's double opt-in.

Then click **Continue**.

---

## Step 3 — Map the fields

The **Field mapping** table has two columns: **Popup field** on the left (every input your popup collects) and **Emarsys field** on the right. OptiMonk pre-fills the mapping with its own suggestions, so in most cases you only need to check it.

- The **email** field is fixed.
- Pick **Don't sync** for any popup field you don't want to send.
- If your popup shows a coupon code, you also get a **Coupon code** row (and a **Prize name** row for a prize wheel or scratch card), so each subscriber's own code can go to Emarsys too.
- Under **Static fields** you can send a fixed value with every submission: click **Add static field**, type the value on the left and choose the Emarsys field on the right.

Click **Save integration**.

**Draft vs. live:** if the campaign has not been published yet, the integration shows a **Draft** pill and the note *Saved as draft. It goes live when you publish the campaign.* On a published campaign it is applied right away and shows as **Active**.

---

## How do I change or remove the integration?

The Integrations tab lists every integration on the campaign. **Change list** reopens the wizard, so you can pick another list, switch double opt-in or edit the mapping. **Remove** takes the integration off this campaign — *Remove from this campaign? The account connection stays and can be added again.*

---

## How do I check that leads arrive?

Open **Leads** in the left menu. The **Sync status** column shows **Synced** when the contact reached Emarsys. If the forwarding failed, the column names the reason instead (for example *Incorrect API key*, *Invalid list* or *Field mapping issue*). Click that status to see the details, fix the settings, then click **Retry**.
