How do I insert my webpage in an email?

With the Fetch at Send feature, you can insert any full page from your website directly into your email. With this option, you can choose to fetch your webpage now, or you can choose to fetch your website at time of sending. To display your webpage in your email, you’ll need to use the Build from Scratch > Custom HTML template option for your campaign or automation email and supply the URL of the page you wish to display using the “Fetch from URL” feature. When contacts receive and open your email, they will see the HTML from the URL you supplied.

You may wish to use this if you have an automation triggered email that has frequently changing content, which can often be challenging to anticipate and update before the time of send. Instead of having to remember to recreate the HTML content in the campaign builder and risking having irrelevant content sent out to contacts, you can generate and maintain the HTML on your site and only supply the URL for the email once. If you want to pull content from different URLs, depending on the contact's profile, this may also be a good solution for you.

Display HTML from a webpage in a campaign

  1. From the Campaigns overview page, click “New Campaign.”
  2. Give your campaign a name and select a campaign type. The campaign name will not be visible to your contacts.
  3. Click “Next.”
  4. Select a list(s) to send the campaign to. You can also use the segment dropdown that appears to select a segment to send to or you can create a new segment to send to by clicking “Create New Segment.”  
  1. Click “Next.”
  2. On the next page, you’ll see a “Build from Scratch” option as well as different designer templates. Click “Build from Scratch.”
  3. Click “Custom HTML” then click “OK.”
  1. A Sender Details modal will appear. Here you can use a different From name and From email address as well as provide an email subject line. You can always change these details later.

    Click “Continue.”
  1. On the Campaign Builder page, click “Insert” then click “Content from URL.”

You can also click the Visual Editor icon.

Then click “Fetch from URL.”

  1. The “Fetch from URL” modal will appear. Type or paste the URL of the page you wish to display in your email into the field provided.
  1. Choose to either fetch now or fetch at time of sending. Fetch now will display the webpage content in the email designer and allows you to make edits to the email before sending it out to your contacts. Fetch at time of sending will display the webpage URL in the campaign designer. When the email is sent, ActiveCampaign will fetch the content of your webpage that is hosted at the URL you provide. The HTML will be loaded into the email.

    Click “Save.”

As a best practice, we recommend testing your email before sending it to contacts. To test your email, click “Next” on the top right of the Campaign Builder. This will take you to the campaign summary page where you can send test emails or perform email client previews and desktop previews. When finished you can either click “Save & Exit” or click “Send Now.”

Display HTML from a webpage in an automation email

  1. From your automation, drag and drop the “Send Email” action into your automation. The “Send email” action is located under “Sending Options.”
  1. A modal pop up will appear. Click “Create an email.”
  2. Type a name for your email then click “Create.” The email name will not be visible to your contacts.
  1. On the next page, you’ll see a “Build from Scratch” option as well as different designer templates. Click “Build from Scratch.”
  2. Click “Custom HTML” then click “OK.”
  1. A Sender Details modal will appear. Here you can use a different From name and From email address as well as provide an email subject line. You can always change these details later.

    Click “Continue.”
  1. On the Campaign Builder page, click “Insert” then click “Content from URL.”

You can also click the Visual Editor icon.

Then click “Fetch from URL.”

  1. The “Fetch from URL” modal will appear. Type or paste the URL of the page you wish to display in your email into the field provided.
  1. Choose to either fetch now or fetch at time of sending. Fetch now will display the webpage content in the email designer and allows you to make edits to the email before sending it out to your contacts. Fetch at time of sending will display the webpage in the campaign designer. When the email is sent, ActiveCampaign will fetch the content of your webpage that is hosted at the URL you provide. The HTML will be loaded into the email.

    Click "Save."

As a best practice, we recommend testing your email before sending it to contacts. To test your email, click “Next” on the top right of the Campaign Builder. This will take you to the campaign summary page where you can send test emails or perform email client previews and desktop previews. When finished you can either click “Save & Exit” or click “Finish.”

FAQs

How is Fetch at Send processed?

It is processed per contact, meaning for each contact that will receive a campaign, we make a unique request to the URL provided.

Can I fetch partial email content for Fetch at Send?

No, we will grab all of the available HTML at the provided URL, load it, and initiate the send.

What happens if the URL is unresponsive?

We will make up to 10 requests to load the content. At that point, if the request fails, the Campaign Processing will stop and you will receive an email notification informing you of the failed send.

Can I use personalization tags to fetch from a dynamic URL?

Yes, you can utilize personalization to append parameters or fetch from a dynamic URL.

Have more questions? Submit a request