Import a Custom HTML Template

read

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.

Note

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.

  1. From the Email Templates tab, click Create Template.
    2017-09-05_16-24-06.png
  2. Toggle to Import to import your template.
    2017-11-01_09-07-11.gif
  3. Enter a name for your template.
  4. Upload the HTML file of your template.
    2017-09-05_16-38-09.png
  5. Optionally upload any images or other assets referenced in your template HTML.
  6. Click Import Template.

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

Unsubscribe Link and File Format

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

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

Was this article helpful?
13 out of 23 found this helpful