Web-to-Lead forms can be associated with a specific marketing campaign so leads are grouped by source, site, or product interest. This is useful when:
This article explains how to associate a Web-to-Lead form submission with a specific Salesforce Campaign, and what to check if the association isn't working.
To associate a new web lead with a campaign, include the Campaign ID and the Campaign Member Status as hidden fields in the Web-to-Lead form. Leads submitted on this form are associated with the specified campaign and given the specified member status. These values must be valid for the organization — for example, the campaign ID must exist, and the Member Status value must be a valid status for that campaign.
<input type="hidden" name="Campaign_ID" value="70120000000U4eJ" />
This line tells Salesforce which Campaign the lead should be associated with. Replace the value with your own Campaign ID.
<input type="hidden" name="member_status" value="Responded" />
This line sets the lead's Campaign Member Status, such as Responded. Replace the value with a status valid for that campaign.
The lead isn't associated with a campaign if the Member Status isn't specified.
These are examples, and developers familiar with POST strings (the data submitted when a web form is sent) and HTML coding can construct more dynamic pages using these basic examples as a reference. Forward these recommendations to your webmaster or developer for further review and consideration.
Generate Leads from Your Website for Your Sales Teams
Salesforce Duplicate Matching Rules Blocking Web-to-Lead Submissions
000383049

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.