> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How To Add Custom Unsubscribe Tracking?

> Add custom unsubscribe tracking to your MoEngage email campaigns by activating subscription categories and embedding HTML tracking code in emails.

<iframe
  src="https://www.youtube.com/embed/Xvio4sM1YtU"
  title="YouTube video player"
  frameborder="0"
  className="w-full aspect-video rounded-xl"
  allow="accelerometer; autoplay;
clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
  allowfullscreen
/>

## Instructions

1. Turn the **Status** toggle on for the required subscription category to activate the Unsubscribe page. <img src="https://mintcdn.com/moengage/t_8awpRKFC9RNHlT/images/moengage_abfef0.png?fit=max&auto=format&n=t_8awpRKFC9RNHlT&q=85&s=00eaa63ae0ebcb7c4c27017451231ad8" alt="303.png" width="1440" height="243" data-path="images/moengage_abfef0.png" />
2. You can then incorporate custom Unsubscribe tracking by adding the following HTML code to the email body:
   <CodeGroup>
     ```html HTML wrap theme={null}
     <a data-msys-managepref="1" href="https://api-0X.moengage.com">Manage your preferences</a>
     ```
   </CodeGroup>
   <Info>
     X denotes the number of the data cluster (DC) in `https://api-0X.moengage.com`
   </Info>
