The Unsubscribe Merge Tag
This feature requires Author user level or higher.
Every campaign sent through MailChimp must include a link to an unsubscribe form, as required by law. Our *|UNSUB|* merge tag generates a link to your MailChimp-hosted Unsubscribe form. If our system doesn't detect an *|UNSUB|* merge tag in your campaign, we'll add a gray footer to your campaign with the required footer information.
Below, you'll learn how to insert the required *|UNSUB|* merge tag to any editable text area in your MailChimp campaign.
Insert with Link Tool
- Navigate to the Design step of the Campaign Builder.
- Click anywhere in a text content block to edit it.

- Type in the text you want to link, like "Unsubscribe from this list," and highlight it.
- Click the Link icon in the toolbar.

- Type or paste the *|UNSUB|* merge tag into the
Web Address (URL) field.

- Click Insert.
- Click Save & Close.
Insert in Source Code
If you're comfortable working in the source code of a MailChimp campaign, you can insert the unsubscribe link directly in the HTML of an editable area.
- Navigate to the Design step of the Campaign Builder.
- Click anywhere in a text content block to edit it.
- Click the
< > Source icon.

- Add the following code where you want your unsubscribe link to appear:
<a href="*|UNSUB|*">Unsubscribe from this list.</a>
- Click the < > Source icon again.
- Click Save & Close.
Insert in Custom Code
You can still add the unsubscribe merge tag in a custom-coded a template or campaign. Copy and paste the following code anywhere you want the link to appear.
Insert in Plain-Text Campaign
For a plain-text campaign, type the merge tag in as regular text, like the example below. After you send your campaign, the tag will be replaced with the URL to your MailChimp-hosted unsubscribe form.
Merge tags only work when campaigns are sent. While a campaign is in draft or paused mode, you'll continue to see the tag itself. Learn how to preview and test merge tags.