Search This Blog

Sunday, December 13, 2015

Web to Lead

Web to Lead: When you setup Web to Lead,You can automatically generate upto 500 leads per day with the prospecting data from your company's website visitors.
Enable Web to Lead: Go to setup --> customize --> Leads --> web-to-lead --> Enable "web to lead" checkbox.
How to send default Email Response: In order to send default email response,select the "Default Response Template" in web-to-lead settings.
Process : First we need to generate "web to lead form" as required and then we need to place that generated form related html code in our websites.
step 1: Go to setup --> customize --> Leads --> web-to-lead --> click "Create Web-to-Lead Form" button.
step 2: Select the required fields which need to be displayed in form .
step 3: After users submit the web-to-lead form,they can be redirected to our required url or website or "thank you" page by providing the URL in "Return URL
step 4:Click "Generate" Button.
step 5:Click on the text area box and press ctrl+A and then press ctrl+c to copy.
step 6: Paste this html code in required websites.
Here I created webtolead.html page.
Code : webtolead.html
<!--  ----------------------------------------------------------------------  -->
<!--  NOTE: Please add the following <META> element to your page <HEAD>.      -->
<!--  If necessary, please modify the charset parameter to specify the        -->
<!--  character set of your HTML page.                                        -->
<!--  ----------------------------------------------------------------------  -->
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">
<!--  ----------------------------------------------------------------------  -->
<!--  NOTE: Please add the following <FORM> element to your page.             -->
<!--  ----------------------------------------------------------------------  -->
<form action="" method="POST">
<input type=hidden name="oid" value="00D28000000c5N4">
<input type=hidden name="retURL" value="">
<!--  ----------------------------------------------------------------------  -->
<!--  NOTE: These fields are optional debugging elements. Please uncomment    -->
<!--  these lines if you wish to test in debug mode.                          -->
<!--  <input type="hidden" name="debug" value=1>                              -->
<!--  <input type="hidden" name="debugEmail" value="">   -->
<!--  ----------------------------------------------------------------------  -->
<label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
<label for="last_name">Last Name</label><input  id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>
<label for="email">Email</label><input  id="email" maxlength="80" name="email" size="20" type="text" /><br>
<label for="company">Company</label><input  id="company" maxlength="40" name="company" size="20" type="text" /><br>
<label for="city">City</label><input  id="city" maxlength="40" name="city" size="20" type="text" /><br>
<label for="state">State/Province</label><input  id="state" maxlength="20" name="state" size="20" type="text" /><br>
<input type="submit" name="submit">
Output:Open that page in any browser.
Fill all the details
Click "Submit" button

You can also observe that auto response email is sent to the email specified in form.

No comments:

Post a Comment