Creating the Web-to-lead and attaching the campaign: Step1: Go to Setup | App Setup | Customize | Leads | Web-to-Lead. Step 2: Select the fields you would like to capture on your form. Make sure to include “Campaign and “Campaign Member Status” Step 3: Click on Generate button to get the HTML code of the form. The HTML will show you the list of your available campaigns and their IDs. Select the one you want out of that list. Step 4: Add the following code to the HTML form <input type="hidden" id="Campaign_ID" name="Campaign_ID" value="70180000000IQBW" /> <input type=”HIDDEN” name=”member_status” value=”responded”> Adding this code to the HTML form will ensure that every lead that fills out the form will be attached to the campaign you assigned and the member status default you designated.
Creating the Web-to-lead and attaching the campaign:
Step1:
Go to Setup | App Setup | Customize | Leads | Web-to-Lead.
Step 2:
Select the fields you would like to capture on your form.
Make sure to include “Campaign and “Campaign Member Status”
Step 3:
Click on Generate button to get the HTML code of the form. The HTML will show you the list of your available campaigns and their IDs. Select the one you want out of that list.
Step 4:
Add the following code to the HTML form
<input type="hidden" id="Campaign_ID" name="Campaign_ID" value="70180000000IQBW" />
<input type=”HIDDEN” name=”member_status” value=”responded”>
Adding this code to the HTML form will ensure that every lead that fills out the form will be attached to the campaign you assigned and the member status default you designated.