AnsweredAssumed Answered

Marketo is rewriting/omitting a significant amount of code in our responsive emails within the HEAD area

Question asked by Dan Stevens. Expert on Mar 1, 2015
Latest reply on Mar 1, 2016 by Grégoire Michel

Has anyone been able to figure out how to prevent Marketo from modifying the code within email templates - specifically code within the HEAD area?  We had a series of custom, responsive email templates designed for us.  But none of them work properly across all major email clients since Marketo is stripping out necessary code that's used to properly render the emails in specific email clients (especially Outlook and mobile devices).  Here are a few instances of Marketo completely rewriting the code or omitting it all together:


Our template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">


<html xmlns=""


Marketo rewrite:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">


Our template:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--[if gte mso 9]><xml>


Marketo rewrite: completely stripped out.  Basically, Marketo is stripping out any conditional code that starts with "<!--[if gte mso 9]>"


I think this is yet another example on why there is a need for a more robust and capable email editor in Marketo.