The Campaign module provides the ability to create lead forms which allow you to capture viewer information as videos are played inside of Brightcove players. This gives 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.
To create a custom lead form, the following steps must be performed.
Marketo provides the ability to create forms to capture viewer information. These forms can be displayed inside of Campaign-enabled Brightcove players. 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.
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.
.mktoForm label { font-weight: bold; color: #FFF; }
To use the form inside of the Campaign module, you will need to copy the form embed code.
Once the form has been created and styled, create a custom lead form in the Campaign module and associate the lead form with a Campaign-enabled player.
Once the lead form has been created, it needs to be assigned to a player. Follow these steps to assign a lead form to a player.
The setup is now complete and you are ready to capture lead information. When a video is published using a Campaign-enabled player, the lead form will appear according to the form timing settings.
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.