How to Create a WordPress Lead Magnet Optin Form

How to Create a Lead Magnet Optin Form in WordPress (Easily)

Do you want to create a lead magnet optin form in WordPress?

Offering a lead magnet like a free ebook in exchange for your visitors’ email addresses is a great strategy for capturing new leads.

In this guide, we’ll show you the easiest way you can build a lead magnet form and grow your email list.

Here’s a table of contents if you’d like to jump ahead:

What Are Lead Magnets?

A lead magnet is a marketing tool that incentivizes people to share their contact information in exchange for access to a valuable resource. The goal is to convert interested visitors into subscribers, so you can grow your list.

Usually, lead magnets are downloadable resources like an ebook, workbook, whitepaper, or something similar. Offering a lead magnet for email subscriptions is an effective and proven way to encourage your visitors to submit their email addresses.

WPForms is the best WordPress Form Builder plugin. Get it for free!

How to Create a Lead Magnet Optin Form

Follow these simple steps to make your own lead magnet optin form on WordPress.

Step 1: Build Your Lead Magnet

Before we get started building your lead magnet optin form, you’ll have to decide on what lead magnet you’re going to offer to your subscribers. It could be a PDF ebook or any other digital resource.

For more lead magnet ideas, check out this post with 69 irresistible lead magnet ideas.

Step 2: Upload Your Lead Magnet to WordPress

Once you’ve decided on what you’re doing for a lead magnet, simply create it and upload it to your WordPress website. You can upload your lead magnet just like you upload an image through the Media Library by visiting Media » Add New.

media upload

Alternatively, you can upload it to a cloud storage service like Google Drive or Dropbox.

After uploading the file, make sure to copy its URL. You can find the URL of the uploaded file by clicking on Edit on the far right of the image upload bar.

Edit the image

Now copy the file URL and keep it safe. You’ll need this later.

copy file url

Since you’re offering this digital resource in exchange for an email address, you’ll want to block search engines from finding it. This is called ‘no indexing’ and we’ll show you how to do it next.

Step 3: Hide Your Lead Magnet From Google

You can hide your uploaded lead magnet from search engines easily. We recommend using the AIOSEO plugin for this.

Not only is it the best SEO plugin for WordPress, but the free version gives you instant access to hide your webpages from Google and other search engines.

how to hide a lead magnet from google easily

For more details, you can read how to hide a page from Google.

Step 4: Load the Newsletter Signup Form Template

Now, you’ll need to create a newsletter signup. This form will take users to your lead magnet.

To do this, install and activate the WPForms plugin. You can learn how to install a plugin here.

You usually don’t need a ton of info from people on your lead magnet optin form. In fact, keeping it short and sweet can help reduce form abandonment.

For this example, we’ll show you how to create newsletter signup form that automatically sends new contacts to your subscriber list in MailerLite.

To do this, head over to WPForms » Add New from your WordPress dashboard.

add new form

Give a name to your form (this can be anything you like) and select a template. We’ll use the MailerLite Newsletter Signup Form template to make things easy and quick.

newsletter signup template

Once it loads, you can easily customize your form using the drag-and-drop builder and add or remove any fields based on your website’s needs.

Mailerlite form

But let’s keep it the way it is for this example since we’re building a lead magnet form and need to be brief.

Step 5: Install MailerLite Addon

In order to integrate your newsletter signup form with a MailerLite account, you’ll need to install WPForm’s MailerLite addon.

Navigate to WPForms» Addons.

WPForms addons

Find the MailerLite addon on this screen and click Install Addon.

Addon installation Mailerlite

When the installation reads “Active”, you’re free to integrate WPForms with MailerLite.

MailerLite addon active

Now we can configure a connection between your form and MailerLite so that these tools can communicate with each other.

Step 6: Configure MailerLite Integration

Navigate to WPFoms » Settings. Then click on the Integrations tab.

WPForms integrations

Scroll down to find the MailerLite integrations settings and then click on Add New Account.

MailerLite add new account

You’ll need to insert your MailerLite API key here. To find the key, head over to your MailerLite account. Click on the Integrations.

Then click on the Use button next to API.

Mailerlite dashboard

To create your API key, click Generate New Token.

Generate mailerlite token

Input a name for your token and press the Create Token button.

Create mailerlite token

On the next screen, you’ll find your token key. Copy it.

copy MailerLite token

Now go back to WPForms’ Integrations page and enter your token along with a nickname for your connection. When you’ve filled out the required fields, click on Connect to MailerLite.

MailerLite connect

When you do this, you should see a Connected status appear.

Mailerlite connection

Great! In the next step, we’ll connect our lead magnet form with a MailerLite account that you own.

Step 7: Connect Lead Magnet Form With MailerLite

Return to your lead magnet form and click on Marketing on the left-hand menu. Select MailerLite from the list of available integrations and then press Add New Connection.

Add mailerlite connection

WPForms will now ask you to input a nickname for your connection. Enter a name and then press OK.

Enter mailerlite connection nickname

Now, use the dropdown fields to configure your WPForms-MailerLite connection. Since we want to add new contacts to our email list in this example, we’ve selected Susbcribe as the Action to Perform.

You’ll also need to specify the email form field that should map to your MailerLite email field for each contact that signs up. Also, you have to mention the Type of the lead, which will usually be Active if your goal is to add new subscribers to your list.

MailerLite mappings

For more information about configuring a connection between MailerLite and WPForms, see creating a MailerLite form in WordPress.

You’re almost done! We just need to set up a lead magnet delivery method now.

Step 8: Set Up Lead Magnet Access

Users will expect to receive access to your lead magnet as soon as they submit your form.

With WPForms, there are a few different ways you can provide access to your lead magnet:

Reveal Lead Magnet Link in Confirmation Message

One of the ways you can give access to your lead magnet resource is by simply offering the link to it in the confirmation message upon form submission.

To set this up, click on Settings » Confirmations on the left of the WPForms interface.

Confirmation settings for Facebook Pixel form submissions

From here, it’s super easy to customize the confirmation message and add a link to your lead magnet. If you remember copying your lead magnet file URL earlier, this is the link you’ll need to add in the message.

lead magnet link

This message will display immediately after form submissions, allowing visitors to easily access your lead magnet via the link.

Redirect to the Lead Magnet URL

WPForms also lets you set up a redirection that takes place immediately when a user presses the Submit button.

To do this, select the Go to URL (Redirect) option from Confirmation Type. Then, enter your lead magnet link in the Confirmation Redirect URL field.

URL confirmation

This way, you can instantly take your visitors to your lead magnet item upon form submission.

Send Lead Magnet Link via Email

You can also send the lead magenet link to your users via email.

By default, notifications to the site admin are already enabled in WPForms. This is to make sure you get email for all form entries.

But you can also set up a separate email notification for the visitor filling out your form. To enable this, click on Settings » Notifications.

notification setting

Now, press the Add New Notification button on the top right.

add new notification

In the Send to Email Address field, select Email from the list of Smart Tags. This tag will automatically retrieve the email address provided by the user filling out your form.

Selecting the Email field from the available fields Smart Tags

Scroll down to the Email Message field and add your lead magnet link here.

Email notification link magnet

Great job! Now whenever a user submits your newsletter form, they’ll receive a direct link to your lead magnet in an email.

Make sure to press the orange Save button on the top-right of the interface to save your changes up til now.

Step 9: Add Lead Magnet Optin Form to Your WordPress Website

It’s time to publish the form on your site and start generating leads!

Click on the Embed button at the top of the form builder.

Embed form button

This will popup a widget giving you two embed options. For this example, we’ll embed the form on a new page. Go ahead and click on Create New Page.

Create an online pledge page

Name your page and then press Let’s Go.

Embed in page

This will take you to your WordPress block editor for your new page. You’ll already find the block for your lead magnet optin form embedded within the page.

It’s advisable to add a brief description to this page to create more interest about the free access you’re offering to visitors in exchange for their information.

When you’re ready, press Publish.

Publish form

Awesome! Let’s now make sure that the confirmation message is working correctly.

You can fill out a test entry for this.

Test entry

As you can see below, the confirmation message with a lead magnet link is showing up as intended!

confirmation link

But wait! Remember that we set up an integration so that all new entries are automatically sent to your MailerLite account?

Let’s see if the test entry was added to our MailerLite subscriber list. If you set up the connection correctly, the new subscriber should appear within a few seconds in your MailerLite list.

Subscriber added to MailerLite

And there you have it! You now know how to make your own lead magnet optin form with a WordPress plugin.

Next, Block Form Spam

If you liked this article, you might also want to read our guide on stopping form spam so you can keep your email list as high quality as possible.

Curious about options other than WPForms? Check out our roundup of the best WPForms alternatives.

What are you waiting for? Get started with the most powerful WordPress forms plugin today. Go for WPForms Pro which comes with awesome integrations including payment options like Square, PayPal, and Stripe.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.