Legacy: Set Up Clearbit Enrichment for Marketo Forms
Last Updated: November 8, 2022
š Please note: This article is for customers on Standard Bundle, Enrichment, or Clearbit Platform plans.
āDisclaimer: If you signed up after Feb 15, 2022, please follow these instructions on Set Up Clearbit Forms for Marketo.
This article shows you how to set up Clearbit Enrichment for Marketo Forms with Clearbit's Legacy Integration. You'll first need to Update your Allowed Referrers in Clearbit, to make sure that no one but you is using your Clearbit account to enrich forms.
- Go to the API settings of your main Clearbit dashboard.
- Scroll down to the Allowed Referrers portion of theĀ API Settings section.
- Add the domain(s) your form is going to appear on. For example, if your form is going to display on a landing page at https://example.com/my-landing-page, you would add "example.com". To make sure the form works on all subdomains, like any testing sites, you can also add the domain "*.example.com".
- Click the Save Changes button.
- To power Clearbit's form shortening feature, you'll need to create a custom field that will be used to check whether Clearbit returned data about a lead or not. First, log in to your Marketo account and go to the Admin section in the navigation bar.
- Select Field Management from the left panel, under theĀ Database Management group.
- Click on New Custom Field from the main panel and create a field with the following properties:
- Object:
Person
- Type:
String
- Name:
Clearbit Form Status
- API Name:
clearbitFormStatus
- Object:
- Click Create.
š Please note: the API Name of the field must be exactly clearbitFormStatus in order for it to work correctly. - Now, we'll create your form. Go to the Design Studio section of the navigation bar.
- Click New and selectĀ New Form from the available options below.
- Fill in the modal with the appropriate information.
- When creating your form, make sure to move up Email Address as the first field. That's the only required visible field and the one Clearbit will use to look for data on that lead.
- Let's now add the custom field we created earlier (Clearbit Form Status) and set its field type as hidden so that users won't see it.
- Now, we'll add dynamic fields for form shortening. The last part of editing your form involved adding as many of the mapped data points you configured previously in the Setting up Clearbit Enrichment for Marketo set up guide. You can view them by going straight to theĀ Data Mappings section of your Clearbit for Marketo dashboard. In order to make these fields dynamic, we have to enableĀ Visibility Rules on them.
Let's create an example form with these fields: First Name, Last Name, Job Title, Website. We'll be usingĀ First Name to show the pattern we'll follow for the rest of the fields. Click the First Name field. - Look at the properties table to the right and scroll down until you find Visibility Rules. Click on Disabled to open up the rules modal.
- SelectĀ HideĀ as the behavior we want to start with. The fields will remain hidden when any of the conditions we set are met.
- The first condition should check if Clearbit Form Status is empty. Since no email has been inputted when the user first arrives on the form, Clearbit hasn't searched for data on that person, so the field should remain hidden.
- The second condition checks if Clearbit Form Status contains data on the propertyĀ FirstName. If Clearbit returned data on that field, we want it to stay hidden. If not, we want it to be visible so the user can type it in.
š Please Note: Clearbit writes data to the āSOAP API Nameā of the field, not the āFriendly Labelā. You can download the list of standard fields here. Or you can view both standard and custom fields by jumping to Admin > Database Management > Field Management and clicking on Export Field Names.
- When you're done with your form, click Finish in the top right corner and then click the Approve and Close buttons right after that.
- To add your form to your website, go back to the Design Studio section of your navigation bar and select the form you just created.
- Select Form Actions and click onĀ Embed Code from the available options below.
- Copy the embed code and paste it wherever you'll be using it in your website.
- Now, add the Clearbit Javascript snippet to your website. Go to the Forms section of your Clearbit for Marketo dashboard.
- Click the Copy Code button to copy the snippet to your clipboard.
- Paste it above the closing
</head>
tag of all the individual pages where you'll be using forms containing Clearbit enrichment.
Articles in this section
- Legacy: Getting Started with Clearbit Forms for Marketo
- Legacy: Set Up Clearbit Forms for Marketo
- Legacy: Set Up Clearbit Enrichment for Marketo Forms
- Legacy: Implement Identify Calls with Marketo Forms
- Legacy: Why are my Marketo forms being submitted with empty field values?
- Prevent Marketo form fields from being hidden if Clearbitās JavaScript does not load (using Reveal)
- Legacy: Prevent Marketo forms field from being hidden if Clearbit JS doesn't load (No Reveal)
- Legacy: Clearbit Forms for Marketo FAQ
- Legacy: Advanced Use of Marketo Forms Code
- Legacy: Troubleshoot Legacy Clearbit Forms for Marketo