Guides & Tutorials

Add a pop-up subscription form to webpage

How to add a pop-up subscription form to your webpage?

Pop-up forms are a quick and easy way to grow your subscriber base by offering them value in exchange for their email address. This is a detailed guide to adding a pop-up subscription form to your website.

You can add pop-ups to your webpage using Smaily landing page forms and a third party service. Some examples:

Creating landing page form in Smaily

Create a new landing page form in your Smaily account and design it. Here are some manuals to help you design the landing page:

Preparing the iframe code

  1. Copy the code below somewhere you can modify it easily. For example a word document or notes.
    <iframe width="600" height="600" style="width: 600px; height: 600px; border: 0px;" src="COPY_LANDING_PAGE_URL_HERE"></iframe>
  2. Open your landing page form in a new window (in landing pages view click on “share”).
  3. On your keyboard press Ctrl + Shift + C to open the browser tools and activate your mouse for inspection. If you move your mouse on the landing page you can see info about the landing page elements.
  4. Element width and height are marked on the GIF. These numbers are important to define the iframe width and height.

In the picture you can see that the landing page width is 500px. You can add this width to your iframe code as well. Landing page height can be found when you move your mouse next to the landing page (on the background). It will show you the whole landing page parameters, where you can get the landing page height.

Example iframe code would be something like this then:

<iframe width="500" height="367" style="width: 500px; height: 367px; border: 0px;" src="https://demo.sendsmaily.net/landing-pages/ba244eea-1627-4521-9e4a-acc4ed5231d6/html/"></iframe>

Creating the pop-up using Poptin as an example

  1. Go to https://www.poptin.com/
  2. Create a new account or log in.
  3. Choose “Popups” from the left menu
  4. Click on “New poptin”
  5. Choose your goal (“What’s your goal?”) – in example “Grow email list” was chosen.
  6. Choose the template to build your pop-up on. We chose “Build your own Popup” and clicked on “Customize”.
  7. Add a name to your poptin and insert the domain you wish to add the pop-up to.
  8. The poptin editor will open, where you can start building your pop-up.
  9. Delete the text element in the template.
  10. In the left menu set the poptin width. Insert the same numbers that you added to the iframe code.
  11. From the left menu find the category “Add elements” and click on the HTML element. It will be automatically added to the template.
  12. Click on the HTML element in the template and then click on “Change HTML”.
  13. Copy the iframe code in the opened modal and click “Save”.
  14.  Drag the html element to the right place and size.
  15. Click on the “preview” button to see how the pop-up looks.

Adjusting the poptin settings.

If your visuals are set then you can start changing the poptin display settings.

  1. On the left menu find the category “Advanced settings”, where you can modify the entry and exit effects, etc.
  2. When those are set, continue to the next display settings by clicking “next” in the upper right corner.
  3. In the next step set the display triggers.
  4. If everything is set, then finish creating the poptin by clicking on “Publish”.
  5. In the left menu go back to the popups page and click on the popup you just created.
  6. Click on the “Installation code” button and choose to which platform you want to add the pop-up to. You can choose “Any website” and copy the code. Follow the instructions given, to add the pop-up to your webpage.
Menu