# Do Not Contact on preference page

**URL:** https://forum.mautic.org/t/do-not-contact-on-preference-page/23391
**Category:** Product Support
**Created:** [March 30, 2022, 5:29pm UTC](https://forum.mautic.org/t/do-not-contact-on-preference-page/23391 "2022-03-30T17:29:03Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![donbowman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/donbowman/32/5702_2.png) [@donbowman](https://forum.mautic.org/u/donbowman)
#### Post date: [March 30, 2022, 5:29pm UTC](https://forum.mautic.org/t/do-not-contact-on-preference-page/23391/1 "2022-03-30T17:29:04Z")

</div>

**Your software**  
My Mautic version is: 4.2  
My PHP version is: 7.4  
My Database type and version is: tidb

**Your problem**

I allow users to select segments on preferences screen.  
However, some would prefer to set ‘do not contact’.

I don’t see how to do this from a custom preferences lander, there is no Variable for it.

How can i give the user a ‘unsubscribe from all email channel’ button on a custom preferences page?

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [March 31, 2022, 2:33pm UTC](https://forum.mautic.org/t/do-not-contact-on-preference-page/23391/2 "2022-03-31T14:33:34Z")

</div>

That is called `{preferredchannel}`  
Look here:

> **[Variables | Mautic](https://docs.mautic.org/en/setup/variables#preference-center-landing-page-tokens)**
>
> . . Contact fields. Company Contact fields. Mautic Component tokens. Email specific tokens. Landing Page tokens. . Preference Center Landing Page tokens. . Dynamic Web Content tokens. Contact Monitoring. Search filters. Alphabetical list. . . ProTip....

---

<div class="post-metadata">

### Author: ![donbowman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/donbowman/32/5702_2.png) [@donbowman](https://forum.mautic.org/u/donbowman)
#### Post date: [April 1, 2022, 11:44am UTC](https://forum.mautic.org/t/do-not-contact-on-preference-page/23391/3 "2022-04-01T11:44:10Z")

</div>

I don’t believe that works as a means of unsubscribe/do-not-contact.

Using it, I get a box saying ‘i pref communication by’. I only have one channel, email, and, that is thus the only thing the user can select. There’s no means of saying ‘do not email’.

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/9c33e8417e6649ef1bbde551a59962cc58484b71.png)

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [April 1, 2022, 1:34pm UTC](https://forum.mautic.org/t/do-not-contact-on-preference-page/23391/4 "2022-04-01T13:34:43Z")

</div>

Oh true. This sux.

{channelfrequency}

Will produce:

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/48575e137d42c3da62ce8292612fcfedcfa07b10.png)

---

<div class="post-metadata">

### Author: ![donbowman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/donbowman/32/5702_2.png) [@donbowman](https://forum.mautic.org/u/donbowman)
#### Post date: [April 1, 2022, 9:52pm UTC](https://forum.mautic.org/t/do-not-contact-on-preference-page/23391/5 "2022-04-01T21:52:49Z")

</div>

yes, except those don’t work at all.  
the pause feature is broken entirely.

> <https://github.com/mautic/mautic/issues/10575>
>
> \### Mautic Version
> 
> 4.0.0
> 
> \### PHP version
> 
> 7.4
> 
> \### What browsers are y…ou seeing the problem on?
> 
> Not relevant
> 
> \### What happened?
> 
> Show pause contact preferences not working
> 
> \### How can we reproduce this issue?
> 
> When enabling "Show pause contact preferences" in v4.0.1 and updating my preference to not allow emails from 11-3-21 to 11-20-21 and saving, I sent myself an email and still received it. This was done from Channels -\> Emails. I believe this may also be an issue for the "Do not send me more than" and the "Categories" are being ignored.
> 
> \### Relevant log output
> 
> \_No response\_
> 
> \### Code of Conduct
> 
> \- \[X\] I confirm that I have read and agree to follow this project's Code of Conduct

---

<div class="post-metadata">

### Author: ![media31](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/media31/32/679_2.png) [@media31](https://forum.mautic.org/u/media31)
#### Post date: [November 2, 2022, 8:46am UTC](https://forum.mautic.org/t/do-not-contact-on-preference-page/23391/6 "2022-11-02T08:46:11Z")

</div>

Sounds like it isn’t possible to set a contact to “don’t contact” when I use a preference page?

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [November 2, 2022, 12:14pm UTC](https://forum.mautic.org/t/do-not-contact-on-preference-page/23391/7 "2022-11-02T12:14:15Z")

</div>

You can uncheck the channel = do not conact
