SOLVED

Using my tokens in links from email

Go to solution
Highlighted

Using my tokens in links from email

Hi,

Thought it would be simple to add a custom token in a href link.

Its easy to print my custom token in the email but somehow when it have to be rendered in an email link, it just get added after the link.

<a href="https://<link-to-lp.com?haveAddress={{my.haveAddress}}">Click  me</a>

 

Expected:https://<link-to-lp.com?haveAddress=1

Resulthttps://<link-to-lp.com?haveAddress=<token-script-logic-printed>

 

In the email its easily rendered as 1 or 0 as expected. In preview mode when i hover over the link it works as expected too. 
Doing a sample send or real send, the custom token is not added.

Could anyone guide me here.

Thanks in advance. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Level 10 - Community Moderator

Re: Using my tokens in links from email

To manage links with Velocity, you must output the entire link - from opening <a> to closing </a> - from the token.

 

(This is discussed in numerous other posts.)

View solution in original post

1 REPLY 1
Highlighted
Level 10 - Community Moderator

Re: Using my tokens in links from email

To manage links with Velocity, you must output the entire link - from opening <a> to closing </a> - from the token.

 

(This is discussed in numerous other posts.)

View solution in original post