2

The default Mosaico template has unsubscribe option in header. However the token or destination url is for group unsubscribe rather than the more general opt-out token. I cannot see a way to insert/change the token that is used for the default or to change for an individual template.

Default: enter image description here

Preferred:

enter image description here

(1) Is there a way to change an individual mailing to opt-out for unsubscribe (the more common requirement than removing from a Group)

(2) Is there a way to change the default?

Thanks

1

This is how I do. You have 2 tokens:

{action.unsubscribeUrl}

to unsubscribe

and

{action.optOutUrl}

to opt-out

I placed this code in a block at the end of the e-mail and it does the job.

<p style="text-align: center;">Si vous ne souhaitez plus recevoir de message de notre part, cliquez <a title="d&eacute;sabonnement" href="{action.unsubscribeUrl}" target="_blank">ici pour vous d&eacute;sabonner</a> et <a href="{action.optOutUrl}" target="_blank">ici pour vous d&eacute;sinscrire de toutes les campagnes du DOMAIN</a></p>

and these are the links I get in the e-mail:

https://domain.net/civicrm/mailing/unsubscribe?reset=1&jid=4&qid=6&h=06932199472f700e

https://domain.net/civicrm/mailing/optout?reset=1&jid=4&qid=6&h=06932199472f700e

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.