Marketo Image URL Encoding
- May 8, 2018
- 3 replies
- 6200 views
Hi.
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:
http://www.movable-ink-6816.com/p/rp/0f114b2c0c7ed0b1.png?mi_u=12345&mi_date=May+8%2C+2018+9%3A48+AM
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):
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) )
$a##
-sb