Lead Gen & CRM enables you to map native forms on your website.
The form mapping tool can be used to pull in data from existing forms on your site and send that information into Lead Gen & CRM.
This article details how to track multiple native forms on a single page of your site.
Article Contents
Trial | ✓ | |
Essential | ✓ | |
Advanced | ✓ | |
Ultimate | ✓ |
Administrators | ✓ | |
Company Managers | ||
Marketing Managers | ||
Sales Managers | ||
Salespersons | ||
Jr. Salespersons |
Obtaining Embed Codes for New Native Forms
To obtain the native form embed code when creating a new form, do the following:
-
- Click Forms in the left toolbar.
- Click Create Form.
- Enter a name for the form.
- Click the Native Form radio button.
- Click the appropriate radio button to determine how contacts who fill out the form should be assigned.
- Optionally, click the Allow a lead or contact record to be created even if an email address is not submitted checkbox.
Note: You can choose to allow a lead or contact record to be created even if an email address is not submitted. Checking this option will allow duplicate records to be created, since email address is the unique identifier in Lead Gen & CRM. - Click Continue.
- Copy the generated Javascript code in the window that appears.
Obtaining Embed Codes for Existing Native Forms
To obtain an embed code from a created native form, do the following:
- Click Forms in the left toolbar.
- Locate the desired native form and click
Actions > Embed Code
Click to enlarge.
- Copy the embed code in the window that appears.
Editing the Embed Code
To edit embed code for form tracking, do the following:
- Locate the native form.
- Obtain the form's embed code.
- Ensure the form has a unique ID.
- Add the unique form ID to the following line in the embed code:
__ss_noform.push(['endpoint', '[your unique form ID here]',
- Replace
'endpoint'
with'form'
in the following line in the embed code:__ss_noform.push(['endpoint', '[your unique form ID here]',
Example edited code with 'native1' as the form ID.
Click to enlarge.
In the code, your form ID can be whatever you choose. It only needs to be appropriately matched within the script. Having this ID is necessary to map and track multiple native forms on a single page.
Mapping Forms Using a Single Embed Code
You can map multiple forms using a single embed code. To map multiple forms, do the following:
- Locate the desired native forms.
- Obtain the form's embed code.
- Ensure that all forms involved have unique IDs.
- Add a unique form ID to the following line in the embed code:
__ss_noform.push(['endpoint', '[your unique form ID here]',
- Replace
'endpoint'
with'form'
in the following line in the embed code:__ss_noform.push(['endpoint', '[your unique form ID here]',
- Copy the edited line of code.
- Paste the copied code directly underneath the edited line of code in a plain text editor.
- Replace the form ID of the pasted code with the unique form ID of another form.
- Repeat as necessary to add as many forms as needed.
Example single embed code with 'native1' and 'native2' as the form IDs.
Click to enlarge.
Mapping Forms Using Multiple Embed Codes
You can map multiple native forms by using multiple embed codes.
- Locate a native form.
- Obtain the form's embed code.
- Edit the form's embed code.
- Copy the edited line of code.
- Paste the copied code in a plain text editor.
- Locate another native form.
- Obtain the form's embed code.
- Edit the form's embed code.
- Paste the entire edited embed code after the prior embed code.
- Repeat as necessary.
Example multiple embed codes with 'native1' and 'native2' as the form IDs.
Click to enlarge.
Inserting Edited Code for Mapping
To map tracked native forms, do the following:
- Edit an embed code to either serve as one code or multiple codes.
- Copy the entire edited code block.
- Paste the code before the closing
</body>
tag on the page where the native forms live. - Fill out the form information independently for each form.
- Confirm the form information has been delivered to Lead Gen & CRM.
- Map your fields.