Skip to content

Template Variables

When writing email content or landing pages, you can use template variables — merge tags — to personalize the content for each recipient. Variables are replaced with each recipient’s actual values when the email is sent or the landing page is shown.

Wrap a variable in double curly braces: {{first_name}}. The available variables differ between the email (subject and body) and the landing page (and awareness message), because each is rendered in a different context. The editor validates this — you can’t save an email that references a landing-only variable.

VariableDescriptionExample output
{{first_name}}Recipient’s first nameJohn
{{last_name}}Recipient’s last nameSmith
{{full_name}}Recipient’s full nameJohn Smith
{{email}}Recipient’s email addressjohn.smith@company.com
{{position}}Recipient’s job positionSenior Analyst
{{department}}Recipient’s departmentFinance
{{company}}Your account (organization) nameAcme Inc.
{{campaign_name}}The campaign’s nameQ2 Invoice Test
{{landing_url}}The recipient’s tracked linkhttps://domain.com/l/abc123?d=…

Landing page & awareness message variables

Section titled “Landing page & awareness message variables”
VariableDescription
{{first_name}}, {{last_name}}, {{full_name}}, {{email}}As above
{{company}}Your account (organization) name
{{landing_url}}The recipient’s tracked link
{{elearning_url}}The recipient’s training link (for use on the awareness page)

For guidance on using these variables effectively in a campaign, see Designing Effective Campaigns §30.1.