Skip to main content

How to embed an opt-in form on your page

capture leads, opt-in, opt in, opt-in form, lead capture form, add, integrate, embed, pages, website, HTML code, collect leads

Written by Eduardo Stewart
Updated today

You can embed an opt-in form (also known as a lead capture form) either on a Learnybox page or external website page. Here's how to do both:

Embed Opt-in Form on Learnybox Page

1. Open Page Editor

  • Access the page you wish to edit using the Learnybox page editor.

2. Insert Form Element

  • From the Elements menu on the left panel, expand the Action-type elements.

  • Drag and drop the Form element into the section where you want it to be displayed.

3. Select Your Opt-in Form

  • After placing the form element, select Opt-in Form.
    Note: There is also an External Capture Form form type, which allows you to embed an external form via code (if you don't want to use the normal opt-in form, which is essentially a LearnyMail lead capture form).

  • Choose the specific form you’ve created.

Note: You can create opt-in forms in two separate ways:

  • From your opt-in form list, accessible via Marketing Opt-in Forms.

  • Directly in the page editor:

    • Drag and drop the Form element.

    • Choose the type of form.

    • Click on Create new form to build it from scratch.

Embed Opt-in Form on External Website Page

1. Open the Form Builder

  • Navigate to Marketing Opt-in Forms.

  • Click the name of the form you wish to embed to open the form editor.

2. Export the Form as HTML

  • In the form builder, click on Advanced Settings.

  • Select Export to HTML.

3. Embed the HTML Code

  • Copy the generated HTML code.

  • Paste the code into your external website to embed the form.

Did this answer your question?