How to code a link in an email message to link to further down the email body | XM Community
Skip to main content
Solved

How to code a link in an email message to link to further down the email body

  • August 30, 2023
  • 2 replies
  • 112 views

Forum|alt.badge.img+3

I’m sending out a survey in different languages, but we don’t know the preferred language of participants.  We’re therefore including all translations of the invite message in the one email, listed one after the other down the body of the email.  

I’m trying to code in language links at the top of the email so the participant clicks on their language link and it takes them down to their chosen translation.  I’ve been trying to use the html coding as follows but it’s not working in the email received when testing.

 

Anchor coding:  <a id=”German”> Dear name</a>

Link coding: <a href=”#German”>Deutsche</a>

 

Any ideas how to code this so it works in the email received?

Thanks

 

Best answer by LouisaHoward

I’ve worked it out, I needed to put ‘name’ instead of ‘id’ in the anchor code.  

2 replies

Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 3 replies
  • Answer
  • August 30, 2023

I’ve worked it out, I needed to put ‘name’ instead of ‘id’ in the anchor code.  


Forum|alt.badge.img+1

can you share the code ? I been trying this and I have the same code in and it’s not working. Thank you! 

 

This is what i have as a language selector on top and then i put the language name above each section.

This is the header: 

<strong>Language selection | <a name="Spanish">Spanish</a> | <a name="Portuguese">Portuguese</a> | <a name="French Canadian">French Canadian</a></strong>

 

these are the sections below per each email section i put the language above it

<a href="#Spanish">Spanish</a>

<a href="#French Canadian">French Canadian</a>

<a href="#Portuguese">Portuguese</a>