Marketo Integration Setup
Note: In order to use this integration you must have a BriteForms subscription. Otherwise you may consider using our real-time API by creating webhooks in Marketo.
These are the basic steps to set up BriteForms with Marketo Landing Pages. For the purposes of this guide, we are assuming that you have a landing page and form already created. These instructions work for guided templates. If you're using a free-form template please use this set of instructions.
1. ADD TRUSTED DOMAINS
In order for BriteForms to work, you need to specify which domains are authorized to run BriteVerify scripts. This is done at the account level, so that you only have to authorize a domain once and it will work for all your Marketo landing pages. Since Marketo allows for a customized URL based on your domain name, this means that all the landing pages will work seamlessly once this step is completed.
Go into the Settings menu on the left and then to the Trusted Domains sub-menu.
Next enter the domain URL of the form. You can get this from the landing page info in Marketo or by loading the form in your browser and copying the URL from the address bar. Paste that in the field and click Add.
2. create your BriteForm.
- Click on the Forms tab.
- Click New Form.
- Enter a name for the new form.
- Click Save.
1. Before the BriteForms code can be added to a landing page built with a template using Guided as the Editing Mode you will need to modify the HTML of the template itself. Select the template in Marketo Design Studio and edit the draft. You will need to modify the existing code to include the following.
<meta class="mktoString" mktoName="Variable 1" id="var1" default="This is a variable" allowHtml="true">
<div class="mktoForm" id="exampleForm" mktoName="Example Form"></div>
The bold text is what you would add to the default HTML of a new template.
2. Go back to BriteForms and click the Details link to the right of your new form to view the code. Copy the code under the second section labeled Marketo Form Install.
3. Back in Marketo, edit your landing page from the Marketo Design Studio. On the right side you will have a custom variable field to paste the code snippet generated for your BriteForm.
4. In your form settings, make sure that the email field type is set to "Email" otherwise BriteFroms will not trigger a verification.
Once saved, view the approved page to test the email field and simulate a BriteForms response.
4. TESTING YOUR FORM
This will allow you to develop and test BriteForms without having to authorize any domains or worry about triggering BriteVerify's fraud tools and security countermeasures. While in test mode you will need to use certain emails to simulate certain events.
Important note: By default your BriteForm is set to test mode. You will ONLY be able to test the following addresses:
- firstname.lastname@example.org: This will simulate a valid verification.
- email@example.com: This will simulate an invalid verification.
- firstname.lastname@example.org: This will simulate an unknown verification.
- email@example.com: This will simulate an accept_all verification.
- firstname.lastname@example.org: This will simulate a submission suspected of being fraudulent.
For the "suspected fraudulent" test transactions using email@example.com, the PIN you can type in to 'pass' the confirmation dialog will always be 5555.
5. TURN FORM LIVE
When you are ready to put your form in production go back to the form details in BriteVerify and click the Promote Live button in the top right corner.
The test email addresses from Test Mode will no longer validate as before (they are for test mode only). Confirmation Dialogs and associated confirmation emails will only be prompted by transactions that BriteVerify deems 'suspicious.' Otherwise, valid emails will be permitted through the form, and invalid emails will be blocked from submitting the form.