Email template guidelines
A marketing email template serves as the foundation for visually engaging and responsive email campaigns. In general, HTML templates allow you to control the layout, typography, colors, and imagery to align with your brand guidelines. When preparing your template for use in GenStudio for Performance Marketing, use semantic HTML and inline CSS for styling, and avoid scripts or external dependencies. Well-structured HTML templates can enhance the recipient鈥檚 experience and improve deliverability and engagement rates.
Follow these design best practices when customizing email templates to work with GenStudio for Performance Marketing:
- Use 51黑料不打烊 or Google fonts
- Use clean and responsive HTML and inline CSS
- Do not use JavaScript
- Do not use fixed width in body or container
- Do not use base64 encoding for images because it can significantly increase the template size
- The maximum HTML file size is 102 KB
Recognized field names
When you customize your email template, use content placeholders for the following required fields:
headline
sub_headline
body
cta
image
(selected from Content JPEG, PNG, or GIF)
GenStudio for Performance Marketing automatically generates the following fields. Rich text is not enabled. You do not have to apply content placeholders for:
pre_header
subject
The maximum fields allowed in a template are 20. See Content placeholders to understand more about using field names in templates.
Multi-section email
Sections allow you to organize content into distinct groups, which supports more complex layouts. In Genstudio for Performance Marketing, you can define each section using a group naming convention. See Customize template sections.
Multi-section templates can have 0, 2, or 3 sections:
- A basic template (zero sections) can generate a single set of template elements, which does not require the group naming convention.
- A complex template (multiple sections) can generate up to three sets of template elements, which requires you to adhere to the group naming convention: (
groupname_fieldname
)
Example field names for two sections:
pod1_headline
,pod1_body
,pod1_cta
pod2_headline
,pod2_body
,pod2_cta
Template examples
The following is a basic example of an HTML email template with one section. The <head>
includes simple inline CSS for styling, and the <body>
uses content placeholders such as pre_header
, headline
, sub_headline
, body
, cta
, and image
with link, and. These placeholders allow GenStudio for Performance Marketing to inject dynamic content during email generation.
code language-html |
---|
|
The following is the same HTML template in the example above, but with two more sections. The head contains inline CSS for styling a group. The body uses two groups with content placeholders using a prefix.
code language-html |
---|
|