# How to preserve leadfield/contactfield used in href links sent via e-mail?

**URL:** https://forum.mautic.org/t/how-to-preserve-leadfield-contactfield-used-in-href-links-sent-via-e-mail/9942
**Category:** General Discussion
**Created:** [November 21, 2017, 3:34am UTC](https://forum.mautic.org/t/how-to-preserve-leadfield-contactfield-used-in-href-links-sent-via-e-mail/9942 "2017-11-21T03:34:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ricardomartins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricardomartins/32/198_2.png) [@ricardomartins](https://forum.mautic.org/u/ricardomartins)
#### Post date: [November 21, 2017, 3:34am UTC](https://forum.mautic.org/t/how-to-preserve-leadfield-contactfield-used-in-href-links-sent-via-e-mail/9942/1 "2017-11-21T03:34:16Z")

</div>

As described at [#5345](https://github.com/mautic/mautic/issues/5345), when I add a {contactfield} on a link inside an email and the customer opens in a different browser that have different mautic\_session\_id token its redirected to different url.  
  
  
  
How can I ensure that the {contactfield} will be the same as the contact of the triggered e-mail?  
  
  
  
i.e: If John subscribes to a form using firefox, that assign a new value to one of your fields, and this field is used to create a link that is sent via e-mail, and he opens this e-mail on his mobile (which will have different session\_id’s) the link became corrupted.  
  
  
  
Is there a way, maybe to not track the link sent through e-mail, so mautic would not use /r/ to create the link?  
  
  
  
Any help is appreciated, since I’m sending dozens of e-mails with invalid links.

---

<div class="post-metadata">

### Author: ![ricardomartins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricardomartins/32/198_2.png) [@ricardomartins](https://forum.mautic.org/u/ricardomartins)
#### Post date: [November 21, 2017, 3:34am UTC](https://forum.mautic.org/t/how-to-preserve-leadfield-contactfield-used-in-href-links-sent-via-e-mail/9942/2 "2017-11-21T03:34:16Z")

</div>

As described at [#5345](https://github.com/mautic/mautic/issues/5345), when I add a {contactfield} on a link inside an email and the customer opens in a different browser that have different mautic\_session\_id token its redirected to different url.

How can I ensure that the {contactfield} will be the same as the contact of the triggered e-mail?

i.e: If John subscribes to a form using firefox, that assign a new value to one of your fields, and this field is used to create a link that is sent via e-mail, and he opens this e-mail on his mobile (which will have different session\_id’s) the link became corrupted.

Is there a way, maybe to not track the link sent through e-mail, so mautic would not use /r/ to create the link?

Any help is appreciated, since I’m sending dozens of e-mails with invalid links.
