# Using tokens & custom field in url

**URL:** https://forum.mautic.org/t/using-tokens-custom-field-in-url/35291
**Category:** Mautic 4 Install/Upgrade Support
**Created:** [March 17, 2025, 1:27pm UTC](https://forum.mautic.org/t/using-tokens-custom-field-in-url/35291 "2025-03-17T13:27:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)
#### Post date: [March 17, 2025, 1:27pm UTC](https://forum.mautic.org/t/using-tokens-custom-field-in-url/35291/1 "2025-03-17T13:27:12Z")

</div>

I am trying to solve an issue where i need to send a token to send within an email however I also need to use a custom field in the link,

So i have something like this in the href: {token\_url}{customfield=domain\_name}

The problem is that it only shows the {token\_url}. Anyone have an idea how to solve this ?

---

<div class="post-metadata">

### Author: ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)
#### Post date: [March 20, 2025, 2:11pm UTC](https://forum.mautic.org/t/using-tokens-custom-field-in-url/35291/2 "2025-03-20T14:11:06Z")

</div>

so no reply yet, and unfortunately i have not managed to solve the problem yet.

Basically if i send inside an email {token\_whatever}={contactfield=whatever123}, this will generate exactly what is being passed through in the payload as well as whatever123 value from the contact card, however the moment I put this into an href tag the only thing that still shows up is the {token\_whatever}.

I have tried with {{token\_whatever}}{{contctfield=whatever123}} - no joy  
I have tried with single parenthesis instead of double in the href tag - no joy.

I am guessing this is probably something to do with GrapeSJS stripping something or messing with something along the way.

Still holding out for a solution from someone here.
