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.
{{company_short}}Short form of the company nameAcme
{{company_genitive}}Company name in the genitive caseAcme Inc.‘s
{{company_genitive_short}}Short company name in the genitive caseAcme’s
{{campaign_name}}The campaign’s nameQ2 Invoice Test
{{landing_url}}The recipient’s tracked linkhttps://domain.com/l/abc123?d=…
{{qr_code}}A QR code image of the recipient’s tracked link (email body only)(image)

Use {{qr_code}} in the email body to simulate QR-code phishing (“quishing”). Each recipient gets their own QR code, embedded in the message as an image, so it shows up without downloading remote content. Scanning the code opens the same personal tracked link as {{landing_url}}, so a scan is recorded and reported exactly like a click.

  • Place the tag where the picture should appear, for example inside a centered table cell. The image is 200 × 200 pixels.
  • For a pure QR scenario leave {{landing_url}} out of the email, so the code is the only way to reach the page.
  • The tag is not allowed in the subject line — the editor rejects it there.
  • In the preview and in a test email the code leads to the campaign’s landing page without any personal token, so trying it out is never counted against a recipient.

Landing page & awareness message variables

Section titled “Landing page & awareness message variables”
VariableDescription
{{first_name}}, {{last_name}}, {{full_name}}, {{email}}As above
{{company}}, {{company_short}}, {{company_genitive}}, {{company_genitive_short}}Company name forms (see below)
{{landing_url}}The recipient’s tracked link
{{elearning_url}}The recipient’s training link (for use on the awareness page)

Some languages inflect the company name (for example the genitive case in Polish), and you may want a short everyday form as well as the full legal name. Set these under Settings → Account details:

  • {{company_short}} — a short form. Falls back to {{company}} when blank.
  • {{company_genitive}} — the genitive-case form. Falls back to {{company}} when blank.
  • {{company_genitive_short}} — the short genitive form. Falls back to {{company_short}} (and then {{company}}) when blank.

Each campaign can override all four forms (including the base {{company}}) just for that campaign, under the campaign’s Settings step → Company name overrides. An override left blank uses the account setting.

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