Anchors are destinations for links and are frequently used in messages containing a significant amount of content. They are convenient because they send recipients directly to specific sections within the content which reduces the amount of scrolling that a recipient needs to do.
Long-format content, like newsletters, can benefit from using lists of links to different sections by making it easier and quicker for recipients to pinpoint content that captures their attention.
Here's how to use anchor links in the new Email Composer.
Instructions
Step 1: Add an Anchor with an HTML Content Block
- In the new Email Composer, edit the email or template you want to add anchor links to. For example, Content > Email Templates > (select) Edit > Design tab.
- In the Content tab in the sidebar, under Additional content, select the HTML Content Block & add it where you want to add an anchor (the destination for a link) and select the block.
- An HTML code window appears in the sidebar containing placeholder text. Replace this with your anchor text, for example, a title for the link destination.
- To create an anchor, paste in the following HTML code:
<a name="anchor"></a><br />
where "anchor" is your anchor name. Keep the name simple and easy to remember, ideally one word, as this is the keyword you’ll use when linking to this anchor. For example:
Step 2: Link to an Anchor
- Find the text where you want to link from, in a Title, Paragraph, or List Content Block.
- Highlight the text, and click insert link in the toolbar:
- In the Insert Link dialog:
- Select Link Type 'URL'.
- In the Url box enter the anchor name prefixed with a hashtag (& no space). Make sure the name matches exactly. For example, for the anchor name "lorem", enter
#lorem
- Select Underline Link so it appears like a standard hyperlink.
- Text to display is the highlighted text.
- In the Title box, enter the popup text that appears when hovering over the link.
- Select Target 'None':
- Click OK.
Step 3: Send a Test Email to Check the Links
- At the top right of the new Email Composer, click Test email.
- Add a recipient. Make sure the recipient is OK to receive the emails from you.
Either type an email address in the box or click Add Test List recipients and select a contact. - Set Test email options if you want, for example, to distinguish the email as a test.
- Click Send.
- Open the email & check the link takes you to the anchor.