Skip to main content
Level 1
Mar 18, 2019 11:53 AM UTC
Question

Can we create editable banner in email template level (editable text on image keeping image link as variable input), if yes please let me know how to build it

Can we create editable banner in email template level (editable text on image keeping image link as variable input), if yes please let me know how to build it

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Amit_Jain
Community Advisor and User Group Leader
Community Advisor and User Group Leader
Mar 18, 2019 6:53 PM UTC

Create a variable for the banner image link and use the variable in the HTML code. Following steps should work:

  • Declare the variable in the meta tag:
    <meta class="mktoString" id="banner_link" mktoName="Banner Image Link" default="">
  • Use this variable in the HTML of the banner image:
    <img src="${banner_link}" alt="my banner image" />

Or you can define this banner image as an element like below:

<div class="mktoImg" id="banner_img" mktoName="Banner Image" mktoImgLink="http://www.mysite.com">

<a><img style="border:10px solid red;"></a>

</div>

The second option will give you ability to select the image directly from the marketo's image library and also allow you to link the banner image to specific web-link.

Regards,
Amit

Translate
Level 1
Mar 19, 2019 6:02 AM UTC

Thanks Amit

Translate