Can I include a field value in a hyperlink?

I'm trying to create a dynamic hyperlink in my emails that includes the value of a custom field. Something like this...

http://www.fundingforflipping.com/ty-[Lead Source]

Essentially, I want people to be lead to a thank you page that is unique to the lead source they were sent from. I tested this in this way, and it resulted in a URL of http://www.fundingforflipping.com/ty-[]

Is there a way to do this?

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

Through massive amounts of discussion on the FB User Group, we've determined that this concept DOES work...except for when using the UTM fields. :-(

Neil explained a work around he's used before that DOES work, but is just kinda stupid that it's necessary.

  • Create a custom field named similarly to the UTM field you want to use.
  • Create a Sequence and have every new lead added to it. In this sequence lives a rule that says "Update the value of a field". You choose the new custom field you created, and the value is [Lead Source], or whatever UTM value you want to capture. Repeat rule for however many fields you want to update. Last step of the Sequence is to remove the contact from that sequence.
  • Now that you have a "parallel" custom field populating a copy of the UTM values, use that custom field in your email hyperlinks.

PHEW. That was something.

edit flag offensive delete publish link more

We do this in several emails. You have to code it in the source code view of the message editor.

In the message editor, press the 'SOURCE' button.

Then paste in a link like this:

<a href="http://www.fundingforflipping.com/ty-[Lead Source]">click here for a thank you message!</a>

When you click the 'SOURCE' button to go back to the visual editor, you will only see the hyperlink text (the "click here for a thank you message!" part - obviously, replace that with whatever).

More about href here: http://www.w3schools.com/tags/attahref.asp

edit flag offensive delete publish link more

Strange that it returned a value of "[]"

Something is wrong there. I've done this plenty of times. The only issue I've had is when I get the merge field wrong but then it returns the entire field. Like this [Wrong Field]

Never seen it return blank brackets.

edit flag offensive delete publish link more

Hey Joe,

That could definitely show up that way if their custom field (lead source) is entirely blank, although there shouldn't be brackets. Otherwise, like Miriam and Neil say, it should work. You could instead anchor text your hyperlink which is better for Email Delivery and looks a little nicer. To do so, you can use the object protocol when linking and use the merge field as part of the anchor text instead of as part of the URL (or do both, if you prefer.)

If you're still having trouble with it, email into Support.



edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-10-28 09:28:37 -0700

Seen: 143 times

Last updated: Nov 18 '15