Sample Email Layout

Details

You can display content in email with a very simple layout. 

Setup

In this example, the content has two attributes defined: CLICK_THROUGH_URL and ASSET_URL. When these attributes were set up as layout variables in the layout editor, CLICK_THROUGH_URL was set as the Click URL input type and ASSET_URL was set as the Asset (image, video, etc) input type.

Layout

A very basic layout just needs to display the asset and open the Click URL when clicked.

Copy
<body style="margin: 0;">
<div style="">
  <a href="$CLICK_THROUGH_URL$"><img src="$ASSET_URL$"/></a>
</div>
</body>

Note: JavaScript is not supported in email or image generator.