# Merge Issue with lead fields from database

**URL:** <https://forum.mautic.org/t/merge-issue-with-lead-fields-from-database/5384>\
**Category:** Product Support\
**Created:** [September 19, 2016, 9:40pm UTC](https://forum.mautic.org/t/merge-issue-with-lead-fields-from-database/5384 "2016-09-19T21:40:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvytes](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@nvytes](https://forum.mautic.org/u/nvytes)\
**Post date:** [September 19, 2016, 9:40pm UTC](https://forum.mautic.org/t/merge-issue-with-lead-fields-from-database/5384/1 "2016-09-19T21:40:32Z")

</div>

Hi folks - I am having an issue with inserting a lead field into an email and then hyperlinking it to text.  
  
  
  
I have done it before and it worked just fine but now I cannot get it to work.  
  
  
  
For example:  
  
  
  
I uploaded a list of contacts and there is a unique url for each contact that takes them to their unique microsite. I created a custom field called microsite, classified it as url and it is part of my database of contacts.  
  
  
  
I am trying to send them an email from mautic through amazon ses. I would like to put Click Here and have the url hyperlink to the text.  
  
  
  
Each time I do this the link works but it is pulling the same url for all contacts instead of the unique url for each contact.  
  
  
  
Anyone seen this or have any pointers?  
  
  
  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![nvytes](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@nvytes](https://forum.mautic.org/u/nvytes)\
**Post date:** [September 19, 2016, 9:40pm UTC](https://forum.mautic.org/t/merge-issue-with-lead-fields-from-database/5384/2 "2016-09-19T21:40:32Z")

</div>

Hi folks - I am having an issue with inserting a lead field into an email and then hyperlinking it to text.

I have done it before and it worked just fine but now I cannot get it to work.

For example:

I uploaded a list of contacts and there is a unique url for each contact that takes them to their unique microsite. I created a custom field called microsite, classified it as url and it is part of my database of contacts.

I am trying to send them an email from mautic through amazon ses. I would like to put Click Here and have the url hyperlink to the text.

Each time I do this the link works but it is pulling the same url for all contacts instead of the unique url for each contact.

Anyone seen this or have any pointers?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 19, 2016, 10:02pm UTC](https://forum.mautic.org/t/merge-issue-with-lead-fields-from-database/5384/3 "2016-09-19T22:02:21Z")

</div>

I have reported a similar problem.

---

<div class="post-metadata">

**Author:** ![nvytes](https://avatars.discourse-cdn.com/v4/letter/n/e79b87/32.png) [@nvytes](https://forum.mautic.org/u/nvytes)\
**Post date:** [September 19, 2016, 10:09pm UTC](https://forum.mautic.org/t/merge-issue-with-lead-fields-from-database/5384/4 "2016-09-19T22:09:27Z")

</div>

I have tried a lot of things but nothing seems to work. It almost seems like it changed with the update. I had it working on another install before but now I can’t figure it out for the life of me.
