Dynamic URL in Email button not working

Hello guys,

I’m trying to make a dynamic url into some buttons in my emails.

For example :
href=“https://domain.com/{contactfield=firstname}” but it doesn’t work.

It works if I do it as a text, but it doesn’t work when I integrate this code in the button.

Any idea?

This has been resolved… so far

Please post the solution or conclusion to the forum so that others see the “question” and “answer” in case it helps them too!

Hi, I’m currently experience the same problem (Mautic 2.16, Nginx, no docker): the content of the token is not applied when sending the mail.

This is how the URL is shown in Browser URL-field when opened from the mail. The link in the mail contains the tracking hashes:


Any hint where to search to solve this issue?

Thanks in advance!

Best Regards