Add a subscription form to your site

This article covers all the methods of adding subscription forms:

  1. Overview
  2. Add a form to your sidebar with a widget
  3. Add a form in a post or page with a shortcode
  4. Add a form to another site with an iframe
  5. Add a form in a pop-up or bar
  6. Plugins that support MailPoet
  7. Use the form’s code with another plugin
  8. Request authors to support MailPoet

1. Overview

Subscriptions forms are composed of two main components:

  • Lists: lists are a way to group subscribers together (and segment then)
  • Forms: they contain the input fields that your visitors must fill to start receiving your newsletters

To create a subscription form, you'll need to:

  1. Create a list
  2. Create a form
  3. Add fields to this form
  4. Associate a list to this form
  5. Add this form to your site (see below)

Subscription Form - How to from MailPoet on Vimeo (Warning: this video doesn't contain audio).

2. Add a form to your sidebar with widget

Subscription Form - Widget from MailPoet on Vimeo (Warning: this video doesn't contain audio).

3. Add a form to a post or page with a shortcode

Subscription Form - Shortcode from MailPoet on Vimeo (Warning: this video doesn't contain audio).

4. Add a form to another site with an iframe

Subscription Form - iframe from MailPoet on Vimeo (Warning: this video doesn't contain audio).

To modify the styles of your iframe form, add an iframe.css file inside the following folder on your web server: your-wordpress-folder/wp-content/uploads/wysija/css 

Subscription form - Styling the iframe from MailPoet on Vimeo (Warning: this video doesn't contain audio).

5. Add a form in a pop-up

Subscription Form - Popup from MailPoet on Vimeo (Warning: this video doesn't contain audio).

Popups or “lightboxes” with an opt-in form are a popular method of increasing subscribers.

While MailPoet doesn’t have an out-of-the-box popup solution, you have 3 options:

6. Plugins that support MailPoet

The following are free or paid:

7. Use the form’s code with another plugin

You can use the shortcode, iframe, html or php versions of your subscription form to include them in your favorite popup / lightbox / opt-in plugin.

Let us know which plugins you use, so we can share them with the community.

8. Request authors to support MailPoet

It’s pretty easy to support MailPoet. Plugins authors can create custom forms for MailPoet with  this sample code.