AnsweredAssumed Answered

Marketo Image URL Encoding

Question asked by Stephen Baker on May 8, 2018
Latest reply on May 8, 2018 by Sanford Whiteman



Using Movable Ink and am at a wall. I'll get right to it.


This works when pasted into an email template using the string output of the encoded date:


This does not work, with token included that calculates the above string format, and actually breaks the template table layout (attached example of 600px table structure during render preview):{{lead.Id}}&mi_date={{my.mi_dateTime}}


Everything seems to function outside of trying to implement it within Marketo. They index the image after tokens process and things go south. Physical inbox previews are the same broken-ness. The moment you add mi_dateTime the HTML syntax is messed up (no idea why?). Attached screen grab.


Does Marketo not support this use case? Or I don't understand part of the rendering stack.


This is the mi_dateTime velocity:

#set ( $a = $date.get('default','short' ) )
#set ( $a = $esc.url($a) )