HTML Editor
Importing and managing HTML templates in the Zeta Marketing Platform is done using the HTML editor. After creating a new HTML template, make sure to set a proper title at the top of the UI for it.
Import Options
Importing HTML can be done in one of three listed ways:
Options | Details |
---|---|
Import from ZIP File |
|
Import from a URL |
|
Copy and Paste |
|
If you face issues in clicking on the View Online Link even though the code is correct, it’s advisable that you recheck the preview text which might’ve been interfering with the HTML code of the email that is rendered in the browser.
Points to Remember
Using the Insert Attributes drop-down menu is a quick and easy way to pull user properties into your content.
Properties listed are ordered by how commonly they're used.
Any property available in your account is listed, can be searched for, and can be used in the content.
Certain special links like the View Online and Unsubscribe URLs can be found in the Insert Special Links drop-down menu.
Content Snippets are also available from the Snippets dropdown.
Choose from the option to insert the reference, which maintains the link to the snippet, or simply paste the contents of the snippet into the template directly, breaking the link to the snippet in the snippet library.
Typing out double curly braces
({{)
will open an auto suggestion of available properties for use in logic or content.Linked elements in content can be given human-readable reporting names and tags.
Use the attributes
data-reportingname="Call to Action"
anddata-reportingtags="cta,primary"
for the given HTML element to accomplish this, setting the appropriate values accordingly.These attributes can only be set in the HTML editor and are currently not available in the visual editor.
Mousing over the light bulb icon gives additional keyboard shortcuts available in the HTML editor.
If you’re using event-based dynamic content, the images will not be displayed on a real-time preview.
ZMP modifies the HTML style to standardize content across all platforms such as Gmail and Yahoo. However, if the 'editor_inline_css_disabled' flag is toggled on for your account, it will prevent ZMP from making any changes to the HTML code and will parse the content as it is.
Please note that this change will only apply to campaigns created after the tag is disabled. For active historical campaigns, you will need to revisit them, make minor changes (e.g., adding a space and then removing it), and then save the content to ensure the new change is reflected in them as well.