# Avoid change email variables

**URL:** https://forum.mautic.org/t/avoid-change-email-variables/31705
**Category:** Product Support
**Created:** [April 16, 2024, 12:44pm UTC](https://forum.mautic.org/t/avoid-change-email-variables/31705 "2024-04-16T12:44:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![figuntech](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@figuntech](https://forum.mautic.org/u/figuntech)
#### Post date: [April 16, 2024, 12:44pm UTC](https://forum.mautic.org/t/avoid-change-email-variables/31705/1 "2024-04-16T12:44:31Z")

</div>

Hi folk! hope you all doing well today. I have a weird problem related to my usecase that maybe (or maybe not) you can help me.

I created custom fields type text in the contact which some of them are urls, and I use them to build the emails inside the template doing \<a href=“{contactfield=contact\_url}” … /\>.

This field change every day for each contact based on specific conditions, so contact user will have different urls.

The problem is that if the contcat clicks on a link in a old email, the url that contact will land is the last updated value, so every email I sent with that variable will land to the same place. However I need a specific URL that keep in the time.

I was trying to understand why this happens and it seems that is related to the tracking system, because it does not write the final url, it create a link to mautic domain and mautic then redirects to my website resolving the {contactfield=url} with the value that contact has in that specific moment.

do you have any idea or suggestion to avoid this issue without disabling the tracking system?

Thanks!

**Your software**  
My Mautic version is: v4  
My PHP version is: 7.4.33  
My Database type and version is: mysql v8

---

<div class="post-metadata">

### Author: ![kuzmanyy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kuzmanyy/32/390_2.png) [@kuzmanyy](https://forum.mautic.org/u/kuzmanyy)
#### Post date: [April 17, 2024, 10:30am UTC](https://forum.mautic.org/t/avoid-change-email-variables/31705/2 "2024-04-17T10:30:38Z")

</div>

This is a problem. Instead of using tokens, we now replace them with contact values which need to be replaced with tokens saved for sending emails. If you’re interested (and you have a budget), please let me know. I can easily fix it.
