How to Embed Assets Directly in an Email

read
Last updated at:

Overview

Most major email clients (such as Gmail) view embedded content such as surveys, forms, videos, and other widgets as a security threat. These email clients will often strip out this embedded code completely and your recipients will not see your content feature rendered when they open your email.

Klaviyo is committed to setting our customers up for success regarding email template creation and sending beautiful, responsive emails. Because our testing shows that these types of features do not reliably render across all major email clients, we don't support embedded surveys, forms, videos, or widgets inside of Klaviyo emails.

That said, there are a few ways around this where you can ensure good deliverability and still engage customers. 

Using a Static Image with a Play Button

This is by far the most common and recommended way to feature a video in emails is to link an image to a hosted version of your video. 

To do this, take a screenshot or create a static image of your video with the play button included, add an image block to your email, add a link to the hosted video, and preview the email to ensure it works as expected.

2019-09-27_15-42-45.png

Add a GIF

Animated GIFs will work in emails as long as they are less than 5MB in size. You can upload a GIF, just as you would upload a JPEG or PNG, by dragging it into your email template. In some cases, you may want to link a shorter GIF out to hosted video content.  

2019-09-27_15-27-41.gif

Other File Types

If you’d like to share another file type through an email (e.g. a PDF, mp3, or other resource), you’ll need to host the file outside of Klaviyo, then link to it in your email. You may be able to host the file on your website platform, or you can use a file hosting service like Google Drive or Dropbox.

Once you’ve hosted your file, copy the URL where it is hosted (or the sharing link, if you’ve used a tool like Dropbox). In your template, drag in a button block, and paste the URL into the button block’s Link URL field.

Using Buttons to Gather Information

Additionally, if you want to gather information from a single click, like product preference, you can use button blocks to gather information about your subscribers. For more information, head to the article on How to Use Buttons to Collect Information About Your Recipients.

Additional Resources

x
Was this article helpful?
117 out of 183 found this helpful