> For the complete documentation index, see [llms.txt](https://docs.mailtrap.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mailtrap.io/email-api-smtp/advanced/recipient-tracking-opt-outs.md).

# Recipient Tracking Opt-Outs

Mailtrap's Recipient Tracking Opt-Outs feature is a per-recipient, per-domain opt-out mechanism that stops open- and click-tracking mechanisms from firing for individual email recipients without unsubscribing them.&#x20;

With it, you can stay compliant with legal requirements, such as, for example, [CNIL](https://www.cnil.fr/sites/default/files/2026-05/recommandation_tracking_pixels_emails.pdf), which requires you to provide French recipients of your marketing emails an easy way to opt out of open-tracking pixels.

> *This article is provided for informational purposes only and does not constitute legal advice. Whether and how you must obtain consent for, or offer opt-outs from, email tracking depends on your role as the sender, your recipients’ locations, and the applicable law (such as the CNIL recommendation in France). Mailtrap acts as a processor of the recipient data you send through the Service; you remain responsible for determining your legal obligations and lawful basis. We recommend consulting your DPO or legal counsel. Mailtrap’s Recipient Tracking Opt-Outs feature is a tool to help you meet those obligations, not a guarantee of compliance.*

### How to use Recipient Tracking Opt-Outs

Navigate to **Domains**, select your domain, go to **Tracking Settings** and turn on the **Allow Recipient Tracking Opt-Out** setting.

<div align="left" data-with-frame="true"><figure><img src="https://1476453098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS3xyr7ba7aGO19rc8dSK%2Fuploads%2FtHiuYnrrFGwemhn8x4qI%2FSCR-20260925-tuhe.png?alt=media&amp;token=3a6eb9c5-2759-41be-88ef-5f1db5059d35" alt="" width="563"><figcaption></figcaption></figure></div>

Once enabled, every outbound email through that domain gets an "opt out of tracking" link in the footer (distinct from the unsubscribe link). If you're not satisfied with the link, you can use the following code, then the link won't be added: `<a href="__tracking_opt_out_url__">Turn off email tracking</a>`. You can find it under **Footer & Links**.

<div align="left" data-with-frame="true"><figure><img src="https://1476453098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS3xyr7ba7aGO19rc8dSK%2Fuploads%2Fzc3Bk8cKqAAi6FYT3XLS%2FSCR-20260925-tvca.png?alt=media&amp;token=19637210-3878-4819-92c8-892b7d1b5024" alt="" width="563"><figcaption></figcaption></figure></div>

When a recipient clicks on the link, they will be led to a Mailtrap-hosted page confirming the opt-out.

<div align="left" data-with-frame="true"><figure><img src="https://1476453098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS3xyr7ba7aGO19rc8dSK%2Fuploads%2FyLd4daUXNZVCja4HznsP%2FSCR-20260925-twdb.png?alt=media&amp;token=2f7b8734-b9bf-412e-98d6-f5f706de499f" alt="" width="563"><figcaption></figcaption></figure></div>

When your recipient confirms the opt-out, from that moment on, no open or click tracking will happen in future emails to that address as well as the emails that have been already sent to this recipient.

Furthermore, you can see which recipients opted out under **Suppressions** → [**Tracking Opt-Outs**](https://mailtrap.io/suppressions/tracking-opt-outs).

<div align="left" data-with-frame="true"><figure><img src="https://1476453098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS3xyr7ba7aGO19rc8dSK%2Fuploads%2FjsHfpXEvjkp3sFHe2nQL%2FSCR-20260925-twol.png?alt=media&amp;token=bb7c7bd3-1687-401a-bf23-2c6466e9842e" alt="" width="563"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mailtrap.io/email-api-smtp/advanced/recipient-tracking-opt-outs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
