*This feature requires a custom HTML block.
Knak’s mission is to empower our customers to build their assets in a no code environment, as such we removed the custom html block. If you’re struggling to build something please reach out to your CSM or our support team and we can advise you on the best path forward and/or help re-enable this feature. If you'd like to use anchor links in landing pages, please navigate here.
Anchor links can help your readers jump quickly from one part of your email to another. Anchor links will work on buttons, text links and images.
It's easy to add anchor links to your emails using Knak's advanced editor.
To create an anchor link:
1. Add an HTML section directly above the content block you want to anchor to:
2. In that HTML block, add this code:
<span id="anchorname"></span>
3. Go to the origin of your anchor link and set the hyperlink. For buttons and images, you would use the same URL (#anchorname) that is shown below in the text link example.
Here's an example for text links:
Previewing Anchor Links
Anchor links won't work in the Knak preview screen, you would need to export or sync your content to see the anchor links working.
How to add in anchor links to your email to direct users to a landing page
To add an anchor link in an email that directs to a landing page, add the link of your landing page with your anchorlink appended to your email. See below for a full video tutorial.
Video Tutorial
Anchor links in emails
Keep in mind that anchor links don't work in all email clients. Here is a breakdown on where you can expect them to work:
Need more help? Contact support via live chat within Knak using the chat bubble in the bottom right corner or email support@knak.com