Re: how is the way to put a username as a variable for a custom template as a subscription?

Anonymous
Not applicable

how is the way to put a username as a variable for a custom template as a subscription?

Hi, I develop a custom template, but my template need show the name of the user, for example:

pastedImage_0.png

I want the name change for each user that receive the email. But the problem is... that I don't know how tell that to my template (in code). Is there any a block of code, variable or class for that?

Like:

Hi,{ $usernameFromList }

Or

Hi, <span class="somethingMarketo">$usernameFromList</span>

I hope you have made me understand.

Thank you.

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: how is the way to put a username as a variable for a custom template as a subscription?

Have you read about tokens (specifically {{lead.tokens}}) in the docs?

Anonymous
Not applicable

Re: how is the way to put a username as a variable for a custom template as a subscription?

No, that's my question because I don't know the name for do that. Thank you. I'll check.