# Add custom field as get-parameter on link click

**URL:** https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342
**Category:** Product Support
**Created:** [June 9, 2016, 3:06am UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342 "2016-06-09T03:06:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![poseidonpublishing](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@poseidonpublishing](https://forum.mautic.org/u/poseidonpublishing)
#### Post date: [June 9, 2016, 3:06am UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342/1 "2016-06-09T03:06:31Z")

</div>

Hey guys,  
  
  
  
I just discovered Mautic and so far it seems great.  
  
  
  
We are currently in the process of moving our system over to AgileCRM, but I see that Mautic has almost all the necessary features for us at a very affordable price.  
  
  
  
However, I can’t figure out how we can add custom fields as the value of a get parameter.  
  
  
  
I added a custom field with the alias field.  
  
  
  
I tried this in the plain text mail:

Code:

Test [http://server.net/test={leadfield=field}] {leadfield=field}

  
and this in HTML:

Code:

[Test](http://server.net/test=%7Bleadfield=field%7D) {leadfield=field}

  
The content of the field appears in the mail, but when I click the link it is not appended to the get-parameter.

---

<div class="post-metadata">

### Author: ![poseidonpublishing](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@poseidonpublishing](https://forum.mautic.org/u/poseidonpublishing)
#### Post date: [June 9, 2016, 3:06am UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342/2 "2016-06-09T03:06:31Z")

</div>

Hey guys,

I just discovered Mautic and so far it seems great.

We are currently in the process of moving our system over to AgileCRM, but I see that Mautic has almost all the necessary features for us at a very affordable price.

However, I can’t figure out how we can add custom fields as the value of a get parameter.

I added a custom field with the alias field.

I tried this in the plain text mail:

`Test [http://server.net/test={leadfield=field}]
{leadfield=field}`

and this in HTML:

[code]

[Test](http://server.net/test=%7Bleadfield=field%7D) {leadfield=field} [/code]

The content of the field appears in the mail, but when I click the link it is not appended to the get-parameter.

---

<div class="post-metadata">

### Author: ![danscrim](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danscrim/32/114_2.png) [@danscrim](https://forum.mautic.org/u/danscrim)
#### Post date: [September 20, 2016, 8:17pm UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342/3 "2016-09-20T20:17:24Z")

</div>

Any update on this? We’re trying to accomplish this as well and having some trouble!

Any insight would be appreciated.

---

<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 20, 2016, 9:12pm UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342/4 "2016-09-20T21:12:08Z")

</div>

@danscrim Can you elaborate better what are you trying to achieve to see if is what I think will solve your problem?

---

<div class="post-metadata">

### Author: ![danscrim](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danscrim/32/114_2.png) [@danscrim](https://forum.mautic.org/u/danscrim)
#### Post date: [September 22, 2016, 1:37am UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342/5 "2016-09-22T01:37:02Z")

</div>

@ninjoan - after a little more work we figured it out. The problem was with the way our links were getting structured. The Mautic click tracking + redirect was playing games on us; but we’re good to go now.

Thanks for getting back to us!

---

<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 22, 2016, 11:54am UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342/6 "2016-09-22T11:54:54Z")

</div>

Can you shared what you find and the solution.

---

<div class="post-metadata">

### Author: ![yogeshsingasane](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yogeshsingasane/32/2399_2.png) [@yogeshsingasane](https://forum.mautic.org/u/yogeshsingasane)
#### Post date: [May 29, 2020, 11:29am UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342/7 "2020-05-29T11:29:49Z")

</div>

any one got solution for this??

---

<div class="post-metadata">

### Author: ![baffit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/baffit/32/2806_2.png) [@baffit](https://forum.mautic.org/u/baffit)
#### Post date: [July 21, 2020, 5:29pm UTC](https://forum.mautic.org/t/add-custom-field-as-get-parameter-on-link-click/4342/8 "2020-07-21T17:29:22Z")

</div>

i’m also trying to make this work, any luck or advice as I’m stuck
