Embed web to lead on your WordPress site

Although there isn't a plug-in to embed Method on your WordPress site, you can embed the web to lead form in an iframe which you can place on a page. 

In order to make your web to lead form available on your website, you will need the URL link of the web to lead form.

Getting the Link

The following steps will show you where you can find the link to your form.

  1. Select your Web to Lead App.
  2. Select the web to lead form within the list.
  3. This will edit your web to lead form. On the right, you will find a URL under Link To Form. Copy this link.
Make sure the form is enabled by clicking the checkbox. If the form is not enabled, it will not work.

Creating a WordPress Page

Although the web to lead form can be created on any page, we will assume you need to create a new page to put the form on.

You will need the proper permissions within WordPress in order to create a page.

  1. Log in to your WordPress site.
  2. On the left menu, hover over Pages and select Add New:
  3. Fill in the title and any body text you wish to appear before your web to lead form.  

Embedding the Form

The next step is embedding this Method public page (your web to lead form) via an iframe.

An iframe is an HTML technique used to display or embed a webpage within a web page.

  1. Copy the following HTML code to your clipboard:
    <iframe src="[LINK]" frameborder=0 style="width: 460px; height: 1000px; border: 0;">
  2. Replace [LINK] with the link you copied in the previous section (shown in red below). In the following example, we will use the link from the example above:
    <iframe src="http://MIurl.cc/qXjyrbml" frameborder=0 style="width: 460px; height: 1000px; border: 0;">
  3. Within the WordPress page you created above, select the Text tab to make sure you are not using the Visual mode:
  4. Paste in the web to lead HTML code from step 2.
  5. Hit Publish when you are ready to make your page live.

Was this article helpful?

Can’t find what you’re looking for?

Contact Us