Import a Custom HTML Template

read
Last updated at:

Overview

Importing a custom HTML template gives you the most control over your email content. While we recommend working with our drag and drop editor for ease of use and better responsiveness built into your email, you do have the option to work with custom HTML if you already have a template or if you prefer working directly with your code.

We only recommend using custom HTML for technically savvy marketers, or for anyone who has access to a developer. While our product does support custom HTML, our support team is unable to help you build out your custom templates beyond offering the general guidance covered in this documentation. Import custom templates if you prefer working with an editor outside of Klaviyo, or if you prefer working directly with source code, and if you have the technical skills or resources to troubleshoot and resolve any issues.

Uploading a Custom HTML Template

Follow these steps to upload a custom HTML template to your account.

From the Email Templates tab, click Create Template and toggle to Import to import your template. Enter a name for your template and upload the HTML file of your template.

2019-10-07_13-54-41.gif

Optionally, upload any images or other assets referenced in your template HTML. Click Import Template and your template will appear on the Email Templates tab.

Adding Images and Attachments

You can reference images and attachments by uploading a zip file that includes your attachments and referencing them by their filename within your template. When you click to import your template these images and assets are automatically added to our CDN and their references are updated within your template.

ezgif.com-video-to-gif.gif

Custom HTML templates must be .html files and must include an {% unsubscribe %} link.

2017-09-05_16-39-49.png 

Additional Resources

x
Was this article helpful?
28 out of 54 found this helpful