Mautic Community Forums

Dynamic URL in E-mail button failed

Hi all,

I am trying to put a dynamic url link in two buttons in my e-mail, but so far it doesn’t work.

These are the links:
https://www.domain.de/de/checkout/add-product/{contactfield=lastproductname}

second link:
https://www.domain.de/de/shop/{dynamiccontent=‘Dynamic Content 3’}/{contactfield=lastproductcategory}

If I click the first button, I will go to the homepage with a message that I can’t add the product at this moment (even though the link is right)

The second button it will lead me to https://www.domain.de/de/shop/{dynamiccontent=‘Dynamic%20Content%203’}/

It does not load my dynamic content 3 + contactfield after the /

Any suggestions how to solve this?

Thanks in advance!