After configuring Forms Enrichment, test the implementation to verify that Demandbase is identifying the form correctly and that the enrichment APIs are functioning as expected.
If you continue to experience issues after completing the troubleshooting steps covered in this article, contact Demandbase Support.
Confirm That Demandbase Recognizes the Form Page
If the Demandbase Tag is deployed on the page and the Company and Email fields are configured with the correct HTML ID or name attributes, you can verify that Demandbase recognizes the page as a form page.
- Open the form page in Google Chrome.
- Open the browser's Developer Tools and select the Console tab.
- Windows: Ctrl+Shift+J
- Mac: ⌘+Shift+J
- Enter the following command and click Enter:
Demandbase.utils.isFormPage() - Confirm that the command returns true.
If the command returns false, verify that:
- The Demandbase Tag is deployed on the page.
- The correct HTML ID or name attributes have been assigned to the visitor-facing Company and Email fields.
Confirm that the Domain API is Firing
The Domain API should fire after a visitor enters a company email address and moves focus away from the Email field.
- Open the browser's Developer Tools and select the Network tab.
- Enable Preserve log.
- Enter a company email address in the Email field.
- Move focus away from the field by pressing Tab or selecting another field.
- Confirm that an email.json request appears in the network activity.
If the request does not appear, verify that the Email field is configured with the correct HTML ID or name attribute. If the Email field mapping is incorrect, the form may still be recognized by Demandbase, but the Domain API does not function as expected.
Confirm That the Autocomplete API Is Firing
he Autocomplete API should fire when three or more characters are entered into the Company field.
- Begin typing a company name in the Company field.
- Confirm that a company selection drop-down appears.
- In the browser's Network tab, verify that autocomplete requests appear.
Because the API fires with each additional character entered, you may see multiple autocomplete requests in the network activity.
If the requests do not appear, verify that the Company field is configured with the correct HTML ID or name attribute. If the Company field mapping is incorrect, the form may still be recognized by Demandbase, but the Autocomplete functionality does not work as expected.
Important:Autocomplete can be disabled for a Forms Enrichment configuration, although this is uncommon. If Autocomplete is disabled, Toggle Fields are not supported.