Marketo email button with dynamic link

  • This code will support Outlook and all other email clients.

  • Option to give dynamic links based on segments since the anchor tag is within the mktoText

    <!--[if mso]>
      <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" style="min-height:40px;v-text-anchor:middle;width:260px;line-height: 25px;" arcsize="10%" strokecolor="#000099" fillcolor="#ffffff">
        <center style="color:#000099;font-family:sans-serif;font-size:16px;line-height: 25px;">
    <div style="background-color:#ffffff; border:2px #000099 solid; border-radius:4px; color:#000099; display:block; font-family:sans-serif; font-size:16px; line-height:20px; text-align:center; text-decoration:none; width:260px; -webkit-text-size-adjust:none; mso-hide:all; padding: 10px 0px; margin: 0px auto;">
      <div class="mktoText" mktoName="CTA Button">
        <a href="#" style="color: #000099; display: inline-block;">Call to Action</a>
    <!--[if mso]>

Contact us to setup your Marketo instance.

- Vivek

What do we do?

We work on website development using Ruby on Rails, NodeJS, ReactJS, AngularJS. View all the services we provide here.

Contact us See our work