How to code a link in an email message to link to further down the email body | Experience 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
  • 4 replies
  • 181 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

Apologies for the very slow response...time ran away with me.  Anyway, this was my code:

 

At the top of the email:

<a href="#German">Deutsche</a> | <a href="#Polish">Polski</a> | <a href="#Turkish">Türkçe</a> | <a href="#Spanish">Español</a>

 

And then at the top of each language section of text:

<a name="German">

4 replies

Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 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>

 


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • Answer
  • January 8, 2026

Apologies for the very slow response...time ran away with me.  Anyway, this was my code:

 

At the top of the email:

<a href="#German">Deutsche</a> | <a href="#Polish">Polski</a> | <a href="#Turkish">Türkçe</a> | <a href="#Spanish">Español</a>

 

And then at the top of each language section of text:

<a name="German">


Livia B
Level 3 ●●●
Forum|alt.badge.img+15
  • Level 3 ●●●
  • July 9, 2026

May I ask here as well, we have a survey, Engagement one, translated in 12 languages. We are sending it country by country, so we would like to make sure that when the user clicks the survey, it will open in the language of the country we do the send. We tried with the info from support pages, but to someone it opened in English and to someone else in Polish, even if it was the same link . Somehow the survey took the language of the browser of that person that opened the survey link. Any tips on how to make sure users will open the link of the survey on the language of their country? Of course then they also have all the languages to choose from , so they can still change it. Just overall we would like to make sure that if we send to Austria, the survey opens in German. 

 

Many thanks 

Livia