# Opt-In Management

## Overview

You can send marketing content to customers depending on the opt-in settings.

Opt-in management gathers additional information about the recipient and adapts the email content based on the opt-in information provided by the customer. This feature allows you to send marketing content and follow-up notifications to customers.

{% hint style="info" %}
You can also manage the prospective audience of campaign banners included in communications based on customer opt-in and marketing preferences using <code class="expression">space.vars.Product\_Campaigns</code>. For further information, see [how campaign banners are configured](https://docs.parcellab.com/docs/campaigns#campaigns-features).
{% endhint %}

{% tabs %}
{% tab title="Opt-In Email" %}

<div align="left"><figure><img src="https://1156682959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPf1Lv1YUuLYva6LrXQ%2Fuploads%2FISeTfSJzV2i0m5QZ6Jdk%2FParkersOptIn.png?alt=media&#x26;token=0b2ceeab-eefc-46f5-b685-0cede647a162" alt="Email with additional content for opt-in" width="375"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Opt-Out Email" %}

<div align="left"><figure><img src="https://1156682959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPf1Lv1YUuLYva6LrXQ%2Fuploads%2FhzJ8OSBqnBgbVKlk67pJ%2FParkersOptOut.png?alt=media&#x26;token=7a9bcee5-c812-4009-b307-91ee57234cb1" alt="Email with basic content for opt-out" width="375"><figcaption></figcaption></figure></div>
{% endtab %}
{% endtabs %}

## Configuring Opt-In Management

The following sections describe the configuration required for opt-in management.

### Customer Requirements

To integrate opt-in management in email communication, you need to provide one of the following to parcelLab:

* The list of all users that have marketing opt-in set and the corresponding recipient data, including the email address as a .csv file on a daily basis.
* The order information with an opt-in flag for the recipient set to true/false.

{% hint style="info" %}
In this case, the opt-in data for each customer is sent when an order is made.
{% endhint %}

### Implementation Process

When parcelLab has the required information, the setup process can begin. Marketing content will be included in emails to customers that have opted-in (that is: customers where `opt-in=true` is set) based on the information provided.

{% hint style="info" %}
If requested, the recipient can opt-out directly from notifications using a link displayed in the footer of the email. For more information on the scope and requirements of opt-in management, please contact your parcelLab representative.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parcellab.com/docs/engage/messages-and-journeys/overview/opt-in-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
