The Campaign module provides the ability to create custom lead forms which allow you to capture viewer information as videos are played inside of Brightcove players. The lead data is sent to, and processed by, Salesforce.
To create a custom lead form, the following steps must be performed.
The Web-to-Lead feature in Salesforce can be used to generate lead information from website visitors. These forms can also be displayed inside of Brightcove players. The steps below will create a simple form to capture first name, last name, email address, company, city and state/province. For complete details on the Web-to-Lead feature, see the Salesforce documentation.
Web-to-Lead
in the Quick Find box and then click Web-to-Lead.To use the form inside of the Campaign module, you will need to copy the form HTML. Also, you may want to do some basic styling to the form. In the steps below, we will copy the form HTML to an HTML editor and then make some styling changes to the form.
By default, when the form is displayed inside of a Brightcove player, the form will display on a transparent background over the player. Use CSS to set the background color.
<style>
body {
background-color: rgba(204,204,204,0.9);
margin: 0;
padding: 20px;
height: 100%;
}
</style>
<form>
tag:<input type="hidden" name="lead_source" value="Video Cloud Campaign">
Once the form HTML has been generated in Salesforce, 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.
Leads captured using the custom lead form will be added as leads in your Salesforce account.