Skip to content

Commit 7471f86

Browse files
authored
Merge pull request #617 from adiati98/cherry-pick-342-b52
Cherry-pick: "Documenting the resubscribe_url token" to 5.2
2 parents f4fe153 + 5f9c0ee commit 7471f86

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/channels/emails.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ Unsubscribing
325325
Mautic has a built in means of allowing a Contact to unsubscribe from Email communication. You can insert various tokens into your Email to provide unsubscribe options at your desired location:
326326
- ``{unsubscribe_text}``: inserts a sentence with a link instructing the Contact to click to unsubscribe.
327327
- ``{unsubscribe_url}``: inserts the URL to the preferences center when it's activated, or to the unsubscribe page if not.
328-
- ``{dnc_url}``: inserts the URL to unsubscribe from all Marketing Messages when there is an active preference center.
328+
- ``{resubscribe_url}``: inserts the URL to the resubscribe page regardless of whether there's a preference centre in use. It resubscribes the Contact. Useful for double opt out Campaigns.
329+
- ``{dnc_url}``: inserts the URL to unsubscribe from all Marketing Messages when you activate the preference center.
329330

330331
The unsubscribe URL token inserts the URL into your custom written instructions.
331332

docs/configuration/variables.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ See :doc:`Manage Emails</channels/emails>` for more information.
178178
- ``{tracking_pixel}``
179179
* - Unsubscribe Text
180180
- ``{unsubscribe_text}``
181+
* - Unsubscribe URL
182+
- ``{unsubscribe_url}``
183+
* - Resubscribe URL
184+
- ``{resubscribe_url}``
181185
* - Web View Text
182186
- ``{webview_text}``
183187
* - Web View URL
@@ -397,6 +401,8 @@ Alphabetical list
397401
- ``{contactfield=twitter}``
398402
* - Preferred Channel (Preference Center)
399403
- ``{preferredchannel}``
404+
* - Resubscribe URL
405+
- ``{resubscribe_url}``
400406
* - Share Buttons
401407
- ``{sharebuttons}``
402408
* - Success Message

0 commit comments

Comments
 (0)