> 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.

<figure><img src="/files/IHitLPtjAMj6zF0jeuex" alt=""><figcaption></figcaption></figure>

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**.

<figure><img src="/files/m70J55X0izorSmYnftjc" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/SVUG56KG3kPXrgkA8sz0" alt="" width="375"><figcaption></figcaption></figure>

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).

<figure><img src="/files/vFPS0xyNnkUOBAY9r1Q0" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
