> For the complete documentation index, see [llms.txt](https://docs.rafflex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rafflex.io/marketing/sms-and-email/marketing-consent-and-unsubscribes.md).

# Marketing Consent and Unsubscribes

Where customers opt in to your marketing, how they unsubscribe, what happens automatically, and how to keep your mailing lists clean.

***

Before you send anyone a marketing email or text, you need to know they agreed to receive it. This page explains every place a customer can opt in on your site, every way they can be unsubscribed, and how that information reaches your email marketing tools.

{% hint style="info" %}
**This page explains how your site works. It is not legal advice.** The rules on marketing consent depend on where you and your customers are. You are responsible for deciding whether your setup meets your own obligations. If you are unsure, speak to a qualified adviser.
{% endhint %}

***

### Where customers opt in

| Where                            | What the customer sees                                                                                                                                                                                                      |
| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Checkout**                     | A tick box labelled **Receive Discount Codes & Latest Competitions**, under the address fields.                                                                                                                             |
| **Creating an account**          | A tick box labelled **Receive discount codes & latest competitions**.                                                                                                                                                       |
| **Newsletter block**             | An email box on any page where you have added a [Newsletter block](https://docs.rafflex.io/customise-your-site/manage-your-pages/page-builder-blocks.md). Entering an email address is the opt in.                          |
| **Join the list** in your footer | An email box with a **Subscribe** button. See [Header, Footer and Menus](https://docs.rafflex.io/customise-your-site/manage-your-pages/header-footer-and-menus.md). Entering an email address is the opt in.                |
| **Coming soon page**             | The **Can't wait?** mailing list box shown while your site is hidden. See [Hide Your Site Before Launch](https://docs.rafflex.io/getting-started/hide-your-site-before-launch.md). Entering an email address is the opt in. |

#### The checkout box

The checkout box is the one most of your customers will see, so it is worth understanding exactly how it behaves:

* **The checkout box is ticked by default.** It starts unticked only if the customer has unsubscribed from your marketing in the past. There is no setting to change this. See [The Customer Checkout Journey](https://docs.rafflex.io/managing-your-site/orders/customer-checkout-journey.md#marketing-consent).
* The box on the account sign up form is different. It starts unticked.
* Unticking the box does **not** unsubscribe a customer who opted in on an earlier order. It simply does not opt them in again. To leave your marketing, they need to unsubscribe (see below).
* The box always appears at checkout, even if you have not connected an email marketing tool yet.

#### Newsletter and sign up boxes

When someone enters their email address in a Newsletter block, the **Join the list** box or the coming soon mailing list box:

* They always see a thank you (for example "Thank you for subscribing to our newsletter!", or the button changing to **Done!**).
* Their email address is only passed on if you have connected somewhere to send it: an [email marketing provider](https://docs.rafflex.io/marketing/sms-and-email/set-up-email-marketing.md) or a [Klaviyo private key](https://docs.rafflex.io/marketing/sms-and-email/klaviyo-integration.md). If neither is connected, the address is **not saved anywhere**, even though the visitor is thanked.
* The person does not need an account. Any email address can be signed up.

{% hint style="warning" %}
**Connect your marketing tool as early as you can.** The **Join the list** box appears in your footer whether or not a tool is connected. Until one is, visitors will think they have joined your list when they have not, and you will lose those sign ups. Connect a tool before you add any Newsletter blocks, too.
{% endhint %}

***

### Where opt ins are sent

Each time someone opts in, your site sends them to every marketing tool you have connected:

* Your **Email Marketing Provider** (justnotify.io, Mailer Lite or Mailer Lite Classic). See [Set Up Email Marketing](https://docs.rafflex.io/marketing/sms-and-email/set-up-email-marketing.md).
* **Klaviyo**. See [Klaviyo Integration](https://docs.rafflex.io/marketing/sms-and-email/klaviyo-integration.md).

Opt ins are only sent from the moment a tool is connected. Customers who opted in earlier are not copied across automatically.

***

### How customers unsubscribe

#### From their account

When you have an email marketing provider or Klaviyo connected, customers see an **Email Marketing** section on their **My Account** page, with a **Marketing Emails** card.

1. The customer clicks **Unsubscribe**.
2. A window asks "Are you sure you want to unsubscribe? You will no longer receive marketing emails from us."
3. They click **Unsubscribe** to confirm.

They see "You have been unsubscribed from email marketing." The card then shows **Unsubscribed on** with the date, and an **Unsubscribed** badge. They are unsubscribed from every marketing tool you have connected. See [What Customers See in Their Account](https://docs.rafflex.io/managing-your-site/customers/customer-account-area.md#email-marketing).

#### From one of your marketing emails

Every marketing email sent by your provider or Klaviyo includes an unsubscribe link. When a customer clicks it, your provider stops sending to them straight away.

***

### Unsubscribe a customer yourself

If a customer asks you to stop sending them marketing, you can unsubscribe them from every connected marketing tool in one go.

1. In your admin panel, click **Users** in the left-hand menu (under **Management**).
2. Find the customer and click their name to open their account.
3. Click the **Actions** button at the top of the page.
4. Click **Unsubscribe Email Marketing**.
5. A window called **Unsubscribe from Email Marketing** explains that the customer will be unsubscribed from all configured email marketing platforms. Click **Confirm**.

You will see **Success** with the message "Unsubscribe request has been queued." This means the request is on its way to your marketing tools and will be processed in the next few moments.

{% hint style="info" %}
**Cannot see Unsubscribe Email Marketing?** It only appears when you have an email marketing provider or Klaviyo connected. See [Customers](https://docs.rafflex.io/managing-your-site/customers.md#unsubscribe-email-marketing).
{% endhint %}

***

### Automatic unsubscribes

Your site also unsubscribes customers automatically in these situations, so they stop receiving promotions:

| What happens                                             | Result                                                                                                                                                                             |
| -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The customer takes a **Timeout** from their account      | Unsubscribed from all connected marketing tools. See [What Customers See in Their Account](https://docs.rafflex.io/managing-your-site/customers/customer-account-area.md#timeout). |
| You use **Lock Account** on the customer                 | Unsubscribed from all connected marketing tools. See [Customers](https://docs.rafflex.io/managing-your-site/customers.md#lock-account).                                            |
| The customer deletes their own account, or you delete it | Unsubscribed from your email marketing provider and from Klaviyo email marketing. A Klaviyo SMS subscription is left as it was, so remove the customer from it yourself if needed. |

{% hint style="warning" %}
**Ending a timeout or lock does not re-subscribe the customer.** When a timeout runs out, the customer stays unsubscribed. They only start receiving marketing again if they opt in again themselves, so a customer who took a break is not pulled straight back in by promotions.
{% endhint %}

***

### Opting back in

A customer who has unsubscribed can opt in again whenever they choose, by:

* ticking **Receive Discount Codes & Latest Competitions** at checkout, or
* entering their email address in a Newsletter or **Join the list** box.

Either one clears their unsubscribe, and they are sent to your marketing tools as subscribed again.

***

### Checking whether a customer is subscribed

Your admin panel does not have a column showing who is subscribed to your marketing. To check an individual customer, look them up in your email marketing tool (JustNotify, MailerLite or Klaviyo).

***

### Importing customers into a marketing tool

You may want to load existing customers into a marketing tool, for example when you first connect it, or when preparing an SMS send.

{% hint style="danger" %}
**Customer exports do not include marketing consent.** Neither the **Export user data** button on your **Users** list nor the customer reports in Downloads show who agreed to marketing. They include customers who never opted in and customers who have since unsubscribed. Do not upload these files to a marketing tool as a subscribed list.
{% endhint %}

If you do import customers yourself, only include people you are confident have agreed to receive marketing from you, and remove anyone who has asked you to stop. When in doubt, leave them out, and let your site add them automatically the next time they opt in.

***

### Good practice

* **Keep your marketing tool as your main record.** It knows about every unsubscribe, including those made from the link in one of your emails.
* **Act on requests straight away.** If someone asks by email or phone to stop receiving marketing, use **Unsubscribe Email Marketing** on their account, and check your marketing tool too.
* **Consider double opt in.** Tools such as Klaviyo can ask new subscribers to confirm by email, which gives you a dated record of consent.
* **Review your wording.** Make sure your [Privacy Policy](https://docs.rafflex.io/getting-started/adding-your-terms/add-terms-and-conditions.md) explains how you use customers' details for marketing.
