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

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" /><!--<!tendif]-->
<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" /><!--<!tendif]--><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!

 

 

 

 

Issue resolved!

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


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