11 Replies Latest reply on Mar 1, 2016 10:24 AM by Grégoire Michel

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

    Dan Stevens

      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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

       

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

       

      Marketo rewrite:
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      <html>
      <head>

       

      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>
        <o:OfficeDocumentSettings>
          <o:AllowPNG/>
          <o:PixelsPerInch>96</o:PixelsPerInch>
        </o:OfficeDocumentSettings>
      </xml><![endif]-->

       

      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.