Issue with custom html in Email invites. Why Qualtrics deletes some parts of my code and content? | XM Community
Skip to main content
Solved

Issue with custom html in Email invites. Why Qualtrics deletes some parts of my code and content?


Forum|alt.badge.img+2

Hi,

I have built an html email invitation that I wish to use for a distribution in Qualtrics.

When I copy-paste my code and save the Email invite in my Library, Qualtrics deletes some parts of my html code.

Begining of my original code : 

<!DOCTYPE html>

<html lang="fr" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xml:lang="fr">
<head>

  <title>Nous aimerions connaître votre opinion</title><!--[if !mso]><!== -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge" /><!--<![endif]-->
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1" />
  <style type="text/css">

Begining of the code after being saved in Qualtrics :

<title></title>
<!--[if !mso]><!== --><meta http-equiv="X-UA-Compatible" content="IE=edge" /><!--<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />


<style type="text/css">


Qualtrics removes the DOCTYPE, html and head tags. It also removes the content of my title tag. Even if I try to put it back manually it keeps getting deleted when I save my message.

 

For accessiblity rules compliance I am asked to have at least the language declared and have content in my title tag.

 

Is there a way to override this Qualtrics settings? 

 

I am brand admin and have all the permissions enabled. Including “Allow Javascript”, “Allow all HTML markup” and “Customise Email headers”.

 

Thanks!

 

 

 

 

Best answer by J_Gagne

Issue resolved!

After reporting this to Qualtrics Support, the Engineering team deployed a new Library UI to fix the issue.

View original

2 replies

Forum|alt.badge.img+2
  • Author
  • QPN Level 1 ●
  • 2 replies
  • Answer
  • March 5, 2024

Issue resolved!

After reporting this to Qualtrics Support, the Engineering team deployed a new Library UI to fix the issue.


Forum|alt.badge.img+2
  • Level 1 ●
  • 6 replies
  • October 9, 2024

I had a similar issue, with the title content being removed.  Using a different approach before all other HTML content worked fine:

<div style="display: none; max-height: 0px; overflow: hidden;">Put the title text here</div>


Leave a Reply