How do I insert my webpage in an email?

ActiveCampaign plans
Starter
Plus
Pro
Enterprise

With the Fetch at Send feature, you can insert any full page from your website into your direct and automated campaigns. To use this feature, you’ll need to use the "Build from Scratch" > "Custom HTML" template option for your email, then supply the URL of the page you wish to display. When contacts open your email, they will see the HTML from the URL you supplied.

You may wish to the Fetch at Send feature if you have an automated campaign that has frequently changing content, which can often be challenging to anticipate and update before the time of sending. 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 direct campaign

  1. Click Campaigns on the left menu, then click “Create a Campaign.”
  2. Give your campaign a name and select a campaign type. The campaign name will not be visible to your contacts. Click “Next.”
  3. In the Campaign Settings page, hover over the campaign design to the right and click the dropdown next to the “Create with email designer” button. Then click HTML builder.

    HTML builder option.jpg


    Note that you do not have to complete the fields on the Campaign Summary page before you create your campaign. They only need to be completed before you send your email.

  4. Click the "Start from Scratch" button. 
  5. Complete the information on the "Sender Details" modal, then click "Continue."
  6. On the next screen, click the “Insert” button, then click “Content from URL.”
    Content_from_URL_for_HTML_email.jpg

    Alternatively, you can click the Visual Editor icon, then click "Fetch from URL."  
  7. The “Fetch from URL” modal will appear:
    • Type or paste the URL of the page you wish to display into the field provided
    • Choose when ActiveCampaign should fetch the content. The "Fetch now" option displays the webpage content in the email designer, allowing you to make edits to the email before sending it out to your contacts. The "Fetch at time of sending" option displays 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 the "Insert" button
  8. Click either "Save and exit" or "Next" to go to the Campaign Summary page.

As a best practice, we recommend testing your email before sending it to contacts. 

Display HTML from a webpage in an automated campaign

  1. Click Automations on the left menu.
  2. Edit or create a new automation. 
  3. Drag the "Send an email" action to your automation. This is located under "Sending Options."
  4. A modal window will appear. Provide a name for the email and click the "Start with a template option.
  5. Click the "Custom HTML" option, then click "Continue."
  6. Click the "Start from Scratch" button. 
  7. Complete the information on the "Sender Details" modal, then click "Continue."
  8. On the next screen, click the “Insert” button, then click “Content from URL.”
    Content_from_URL_for_HTML_email.jpg

    Alternatively, you can click the Visual Editor icon, then click "Fetch from URL."  
  9. The “Fetch from URL” modal will appear:
    • Type or paste the URL of the page you wish to display into the field provided
    • Choose when ActiveCampaign should fetch the content. The "Fetch now" option displays the webpage content in the email designer, allowing you to make edits to the email before sending it out to your contacts. The "Fetch at time of sending" option displays 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 the "Insert" button
  10. Click either "Save and exit" or "Next" to go to the Campaign Summary page.

As a best practice, we recommend testing your email before sending it to contacts. 

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 tags to append parameters or fetch from a dynamic URL. This lets you create HTML specific to your contact. 

To do so, you need to include personalization tags in the URL. For example, you would format the URL like this: www.mywebsite.com?email=%EMAIL%&phone=%phone%

Have more questions? Submit a request

Start free trial