Print this page

How to Identify Leads Created by Web-To-Lead

Knowledge Article Number 000220909
Description How can I tell if a Lead has been created using Web-To-Lead?
Resolution Currently, there is no automated feature to identify how a Lead is created. However, there's a way to show that a Lead has been created using Web-To-Lead.

That is by:
- Adding the "Lead Source" field when creating the Web-to-lead code
- With the assistance of the Web master/Web Developer, auto-populate the field with the value of the Lead Source by modifying the generated HTML code and set the field to hidden

You could update the Lead Source field with multiple values (e.g. the Web page names) depending on the page that the Web-to-Lead code will be embedded into; that way if you have multiple Web-To-Lead pages created then it could identify which Website it is coming from.
 
Here is a Sample of how the code could look:
<input id="lead_source" name="lead_source" type="hidden" value="Desired Lead Source Value" />
 
Note: Salesforce provides just the standard Web-to-Lead form but we don't support any particular modification to the form and changes are to be decided by the Org's Administrator or the webmaster deploying the code to the website. If you're facing an issue with records not being created we encourage you to review the default web-to-lead code and see if it works as expected, if so, you'd need to review what modifications have been introduced to the code we provide.




promote demote