ConvertedU Marketing Library Webinar Blog

Need help? You've come to the right place

What's New Getting Started Building Integrating Publishing

Publish Leadpages as HTML

There are a few ways you can publish Leadpages to your server. If you use WordPress, we recommend using our plugin. You can learn more about it here: Installing the WordPress Plugin. Otherwise, you can upload pages to your server manually.

NOTE: To use our HTML publishing option, you must have a web host in addition to a domain. Learn more. ↘

Every Leadpage can be published as HTML. The code contains a JavaScript snippet that essentially imports your page to your site’s server. Because the code is set up this way, you can…

  • edit your Leadpage and update it without needing to republish
  • collect analytics data (and view it in Leadpages)
  • run split tests

Read on to learn more about publishing your landing pages as HTML.


Step-by-step instructions

Follow these steps to get any page’s HTML code:

  1. Go to the Leadpages tab in your account dashboard. 
  2. Click the Actions more menu for the page you’d like to publish, then select “Publishing Options”.
  3. Choose “Wordpress & HTML,” then click Download Dynamic HTML
NOTE: There is also a static HTML download available below the download button for customers on Standard Annual plans and higher. Using the static HTML download will prevent analytics, split testing & the page builder from functioning normally. We cannot offer support for this.

Screenshot of modal

If you’re in the builder, click Publish or the Update down_angle menu then click “Publish Options”. From there, select “Other Publishing Options” and click Download HTML

Once you have your page’s HTML, you’ll need to get it on your site. How you do so depends on your site’s specific setup, but you can learn about the most common options below.

Option 1: Upload the file to your server

The most common way to publish a page as HTML is to upload it to your server using an FTP client (such as FileZilla, Cyberduck, or Transmit). 

You’ll need an FTP username and password, which you can typically find in your cPanel dashboard. Otherwise, you may need to reach out to your web host’s support team to get your FTP credentials. 

Once you upload your Leadpage’s HTML file to your server, you can start directing visitors to its URL. 

Option 2: Paste HTML to your site

If you use a website builder (and don’t have direct access to your server), your best option may be to paste the HTML from your Leadpage to your site. 

To do so, open the HTML file and copy the entire code.

TIP: Most systems open HTML files in your default web browser. We recommend opening your file in a text editor such as Notepad++ or Atom.

Then, check with your site builder’s documentation or support team to determine the best place to paste your code. Most will provide a “custom HTML” or “code injection” field. 

Keep in mind however, some website platforms don’t have an option to paste or upload custom HTML. Or if they do, your pages may be contained within your site’s overall theme. 

You’re welcome to use your code from Leadpages in this way, but please understand that we cannot help troubleshoot or resolve issues with your specific site. 

Frequently asked questions

Can I just point certain Leadpages to my domain?

All webpages must be hosted on a server—a domain (and more specifically, a URL) simply acts as the location of a page. To use our HTML publishing option, you must have a web host in addition to a domain. Keep in mind, many domain name registrars also offer hosting services, so you can always check with your service for potential solutions. 

We do offer the ability to connect your domain to Leadpages with no hosting needed. With this method, you can host Leadpages on our servers, but make them accessible at your domain, e.g. Read our guide here for more information.

WARNING: Do not use domain masking. Doing so can cause major issues with Leadpages, including the loss of opt-in data. Learn more…

Can I use a 404 template on my own server?

You should be able to as long as your web host offers the option to customize a 404 page for your site. You’ll need to check with your web host for any requirements (such as what to name the HTML file). 

(Updated October 8, 2018)

Please let us know if you have additional questions.

You can always file a support ticket if you have additional questions by clicking the Support button in your dashboard as shown here or clicking here to file a support ticket.

Was this article helpful?
Powered by Zendesk