Skip to main content

Hyperlink custom variable links

Learn how to add clickable links using custom variables

Written by Dasha Leshchenko

You can use custom variables to create clickable hyperlinks in your email templates. There are two ways to add a hyperlink with a custom variable:

  1. Add a hyperlink in the HTML Editor:

    • Open the needed step template in your sequence. Then select the HTML editor option from the toolbar (if you don't have it, make sure you have Plain Text mode disabled in your sequence settings).

    • Insert the following code into the template:

      <a href="{{SomeUrlVariable}}">Link text</a>

      Where:

      • {{SomeUrlVariable}} - your custom variable containing the URL

      • Link text - the clickable text displayed in the email

      Example:

      <a href="{{Website}}">Visit our website</a>

  2. Add a hyperlink directly in the template editor:

    • Open the email template.

    • Select the text you want to hyperlink.

    • Click the hyperlink icon in the toolbar.

    • Enter the custom variable name containing the URL.

šŸ’” Make sure to copy the variable name exactly as it appears in the Variables section.

Did this answer your question?