Do Not Contact on preference page

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?

That is called {preferredchannel}
Look here:

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

Oh true. This sux.

{channelfrequency}

Will produce:

image

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

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

You can uncheck the channel = do not conact