Variable in href in an email button

this is the orig link in the unsub link:

<a href="|URL|">Unsubscribe</a>  

so am thinking how we can get access to that |URL| an update how it call the message.html.twig which shows the page of unsub confirmation.

That should be under Configuration > Email Settings > Unsubscribe.

In our case we just did our own custom link with a fallback option:

<a href="{contactfield=customunsubscribelink|https://domain.com/unsubscribe}">Unsubscribe</a>
1 Like