Paste in HTML to Create a Campaign

If you've already designed and coded an HTML email in another program, or received HTML from a designer, you can use the Paste in Code feature to create your campaign.

In this article, you'll learn how to paste HTML code to create an email campaign.

Before You Start

Here are some things to know before you begin this process.

  • In your HTML code, all images must be hosted on a public server, and all links should be set as absolute paths that point directly to that public server. You can also use the Content Studio in your Mailchimp account to host your images and insert image URLs into your HTML code.
  • This is an advanced feature and is recommended for users familiar with custom coding. Contact your developer, or hire a Mailchimp Expert if you need assistance.

Paste in Code

To create a campaign with pasted HTML code, follow these steps.

  1. In the Content section of the Campaign Builder, click Design Email.
  2. On the Template step, click the Code your own tab.
  3. Select Paste in code.
    Paste in code tile showing icon, description, and cursor hovering on Select button
  4. Paste your HTML into the code editor, and click Save.
    Left panel shows code icon and cation To get started, paste some HTML into the editor. Right panel shows coding pane with HTML inserted.

Review Settings

Important CSS options and code snippets are also available in the code editor. To review optional settings, click the Settings tab.
Settings tab of code panel, which includes CSS Inliner option with box checked, Unsubscribe Link field and MonkeyRewards options.

  • CSS Inliner
    Check the Automatic CSS-Inliner box to help your code display more accurately in a variety of inboxes.
  • Unsubscribe Link
    Copy the unsubscribe link and paste it into your code. An unsubscribe link is required in all email campaigns.
  • MonkeyRewards
    Copy the MonkeyRewards badge merge tag and paste it in your code where you want the badge to appear. The badge is required for free accounts.
  • Editor Theme
    Click the Editor theme drop-down menu to change the appearance of the code editor.

Was this article helpful?

Anything else we can do to improve our site?