At Salespanel.io, we continuously strive to provide the best tracking solutions for your business. In some cases, businesses use form validation to ensure their website visitors provide valid and accurate information, such as a business email address. To accommodate this scenario, Salespanel offers advanced configuration options that help you capture the final, valid email address from your visitors. In this article, we'll walk you through the process of implementing these settings to enhance lead capture accuracy.
Step 1: Implementing Advanced Configuration Options
To ensure Salespanel captures the final, valid email address from your visitors after form validation, you'll need to add the following script at the top of your Salespanel tracking code:
<script>
window.salespanelSettings = {
"sp_lead_capture_on_submit": true,
"sp_override_identity": true
};
</script>
This script contains two configuration settings:
-
sp_lead_capture_on_submit
: Setting this option totrue
ensures that Salespanel captures the email address only after the form is successfully submitted, rather than on the 'blur' JavaScript event. This guarantees that the captured email address is the final, valid one entered by the visitor. -
sp_override_identity
: By default, Salespanel does not change the email address once detected in the session. However, setting this option totrue
ensures that the system captures the final email address, even if it has been corrected by the visitor during the session.
Step 2: Verify the Implementation
After implementing the advanced configuration options, it's essential to verify that Salespanel is capturing the correct email addresses. Test your web forms to ensure that Salespanel correctly captures the final, valid email address after form validation and submission.
Using Salespanel's advanced configuration options, you can enhance lead capture accuracy by ensuring that the system captures the final, valid email address from your visitors. By following the steps outlined in this article, you'll be able to better align Salespanel's tracking capabilities with your unique business needs.
If you have any questions or need further assistance, please don't hesitate to reach out to our support team.