# Dynamic URL in E-mail button failed

**URL:** <https://forum.mautic.org/t/dynamic-url-in-e-mail-button-failed/10523>\
**Category:** Product Support\
**Created:** [May 23, 2018, 8:20am UTC](https://forum.mautic.org/t/dynamic-url-in-e-mail-button-failed/10523 "2018-05-23T08:20:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael-alphacomm](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@michael-alphacomm](https://forum.mautic.org/u/michael-alphacomm)\
**Post date:** [May 23, 2018, 8:20am UTC](https://forum.mautic.org/t/dynamic-url-in-e-mail-button-failed/10523/1 "2018-05-23T08:20:08Z")

</div>

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}](https://www.domain.de/de/checkout/add-product/%7Bcontactfield=lastproductname%7D)

second link:  
[https://www.domain.de/de/shop/](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’}/](https://www.domain.de/de/shop/%7Bdynamiccontent='Dynamic%20Content%203'%7D/)

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

Any suggestions how to solve this?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 17, 2019, 4:33pm UTC](https://forum.mautic.org/t/dynamic-url-in-e-mail-button-failed/10523/2 "2019-10-17T16:33:38Z")

</div>


