Creating Lead Forms in Marketo

In this topic you will learn how to create a Marketo form that can be used to capture lead data during video playback.

Brightcove Campaign provides the ability to create lead forms which allow you to capture viewer information during video playback. Forms give you the ability to include whatever fields you need (visible or hidden) and also give you the ability to take advantage of features like progressive profiling (if available). The lead data is sent to, and processed by, Marketo.

Creating a form in Marketo

Marketo provides the ability to create forms that can be used to capture viewer information. The form HTML that is generated will be used when creating a lead form inside Brightcove Campaign. The data that is captured can then be used in customizing future communications. The steps below will create a simple form to capture first name, last name and email address. For complete details on Marketo Forms, see the Marketo documentation.

  1. Sign in to your Marketo account.
  2. Navigate to Design Studio > Forms and then click New > New Form. The New Form dialog opens.
  3. Enter a Name for the form and click CREATE.
    marketo new form
  4. The form properties page will open. Click Edit Form at the top of the page.
  5. The form designer will open. By default, first name, last name and email address fields will be on the form. Edit the field properties and behavior as needed. Click NEXT.
    marketo field details
  6. Click the arrow icons to select a form theme. The form theme controls the styling of the form. Click Preview Draft to see a preview of the form. In this example, the Dark theme was selected.
    marketo form preview
  7. Click Edit Draft to return to the form editor.
  8. Click NEXT.
  9. Configure any additional form settings and click FINISH.
  10. Click APPROVE AND CLOSE.

Optional - Styling the form using CSS

When creating a form, Marketo provides the ability to select a form theme to provide some basic form styling. You can also customize the form using your own custom CSS. In this section, we will customize the Dark theme and make the label text white and bold. For complete details on Marketo Forms, see the Marketo documentation.

  1. Navigate to Design Studio > Forms and then click on your form.
  2. Click Edit Form.
  3. Click Form Settings and then click the gear icon.
    marketo style form
  4. Clicking View Theme CSS will display the current theme CSS. Click Edit Custom CSS. Paste in the following CSS code to make the label text white and bold.
    .mktoForm label {
    	font-weight: bold;
    	color: #FFF;
    }
  5. Click SAVE.
  6. Click Preview Draft to see a preview of the form. The label text should be white and bolded.
    marketo preview draft
  7. Click Edit Draft to return to the form editor.
  8. Click FINISH and then APPROVE AND CLOSE.

Copying the form embed code

To use the form inside of Brightcove Campaign, you will need to copy the form HTML. Follow these steps to copy the form HTML.

  1. In the left navigation, right-click the form and click Embed Code.
  2. Set the Code Type to Normal and then copy the Code to the clipboard. Click Close.
    marketo embed code

Creating a Brightcove Campaign lead form

Once the form has been created and styled, the form HTML will be used inside Brightcove Campaign when creating a lead form. For information on creating a lead form, see Creating Lead Forms.

Validating the form data in Marketo

There are several ways to validate that the form data has been passed to Marketo. Follow these steps to view the form data in Marketo.

  1. Sign in to your Marketo account.
  2. Click Lead Database.
  3. In the left navigation, expand Group Smart Lists and then click Form Capture SL.
    marketo navigation
  4. Click the Smart List tab.
  5. In the list of Filters on the right side of the page, locate the Filled Out Form filter. Click and drag the filter to the page.
    marketo filter
  6. Enter the name of your form. You can also click the + to browse for your form.
    marketo form filter
  7. Click Leads at the top of the page to see the filtered lead data.
    marketo leads
  8. Click an Id to open the lead detail.
  9. Click the Activity Log tab. Confirm that the form was filled out.
    marketo lead details