Salesforce integration for your website
A Salesforce integration sends every enquiry from your website into Salesforce as a lead, with where it came from and what it read. This page compares Web-to-Lead with an API connection and covers field mapping, campaigns, consent and duplicates.
In short
- Every website enquiry lands in Salesforce as a lead, with its source and pages read.
- Web-to-Lead suits simple forms. The API can match known buyers and add campaign members.
- Map every form field to a Salesforce field before anything is built.
- Store consent in its own field, with the date and the wording the visitor agreed to.
How the connection works
The visitor sends a form
Your own form, styled like the rest of your site, checks every field before it sends.
The site adds the context
Source, campaign, landing page and pages read travel with the lead into Salesforce.
Sales picks it up
Your assignment rules route the lead to the right owner, with the full story on the record.
Why the context matters
A lead that arrives with its source and the pages it read tells sales what the buyer wants before the first call.
A bare name and email address leaves sales starting from zero. With the landing page, the campaign and the pages a visitor read, your team sees which service brought them in and what they compared before they asked.
The same fields let marketing see which pages and campaigns bring deals, in the Salesforce reports your team already uses. Tracking scripts load only after the visitor accepts cookies, so the data you collect is data you may keep.
What we connect
Every form on your site, mapped to the fields your sales team works with.
Contact details
Name, company, email and phone, mapped to the standard Salesforce lead fields.
Source and campaign
Lead source, UTM tags and the Salesforce campaign the visitor came from.
Pages read
The landing page and the pages viewed before the form, so sales knows what caught their interest.
Form answers
Service, budget range or project type, in picklists that match your Salesforce values.
Consent
What the visitor agreed to, with the date and the wording shown, in its own field.
Download requests
Visitors who ask for a brochure or guide arrive as leads, with the document they chose.
What is Salesforce Web-to-Lead?
Web-to-Lead is a Salesforce feature that turns website form submissions into new leads. Salesforce generates the form code, and each submission creates a lead in your org.
You switch it on in Setup, pick the lead fields and get an HTML form that posts to Salesforce. It supports lead source, campaigns, assignment rules, auto-response emails and a reCAPTCHA check. Salesforce caps how many web leads it accepts per day, which matters for busy sites.
Web-to-Lead or the Salesforce API: which should you use?
Use Web-to-Lead for a simple contact form that only creates leads. Use the API when the site must find existing records, add campaign members or write to more than one object.
| Web-to-Lead | Salesforce API | |
|---|---|---|
| Setup | Switched on in Setup, form code generated | A secure connection from your server |
| Creates | New leads | Leads, contacts, tasks and campaign members |
| Known buyers | Each submission is a new lead | Can find the email first and update the record |
| Spam protection | Optional reCAPTCHA | Your site’s own checks before sending |
| Volume | Daily cap on web leads | Your org’s API allowance |
| Edition | Most Salesforce editions | Editions with API access |
Either way, the form itself is yours: it sits on your site, works without JavaScript and keeps what the visitor typed when a field needs fixing.
How do you map website form fields to Salesforce?
List every form field, pick the Salesforce field it fills and agree the picklist values before the build. Fields with no home get a custom field.
List the fields
Every field on every form, hidden ones included: source, campaign, landing page and pages read.
Match each one
Each field fills one Salesforce field. Picklist answers use the exact values your org accepts.
Add what is missing
Your Salesforce admin creates custom fields for the rest, such as pages read or consent date.
Test with real records
Send a real submission from every form and check each field in Salesforce before launch.
How do you handle consent and duplicates in Salesforce?
Record consent in its own field with the date and the wording shown, and look up the email before creating a lead, so one buyer stays one record.
- Consent is opt-in. The box starts unticked, and the lead records what the visitor agreed to and when.
- One field per purpose. Agreeing to a reply and agreeing to a newsletter are two separate fields.
- Match on email. With the API, the site checks for an existing lead or contact and updates it, so sales sees one history.
- Duplicate rules as a safety net. Salesforce’s matching and duplicate rules catch what slips through, such as a known person with a new email.
What our sites bring in
- leads in 90 days for WeForward, across two sites
- 155
- of WeForward’s leads started with an info-document download
- 69%
- leads in the first 30 days for AnTARES
- 26
- of AnTARES visitors got in touch, 26 of 909
- 3%
WeForward, measured from 27 July to 24 October 2026. AnTARES, from launch, 25 September to 25 October 2026.
Questions about Salesforce integration
Can each lead go to the right salesperson automatically?
Yes. Salesforce’s lead assignment rules route each new lead by country, service or any other field the form fills. We send the fields your rules need, and your admin keeps control of the rules.
Can we add website leads to a Salesforce campaign?
Yes. Web-to-Lead accepts a campaign with each lead, and the API can add the lead as a campaign member with a status. A hidden field on each form or landing page sets the right campaign.
Which Salesforce edition do we need?
Web-to-Lead works in most Salesforce editions. An API connection needs an edition with API access; if yours lacks it, Web-to-Lead still gets every enquiry into Salesforce with its source.
We use HubSpot for marketing. Does that change anything?
The website side stays the same: your own forms, mapped fields, source and consent. We can send leads to HubSpot and let HubSpot’s own Salesforce connector carry them across, or send them to Salesforce directly.
Who owns the connection?
You do. Leads go into your own Salesforce org, and the website code, connection included, is yours: on full payment the code repository moves to your own GitHub account.
What does a Salesforce integration cost?
Integrations are included in every website we build, so connecting Salesforce adds nothing to the project price. Websites start at €3,500. Your Salesforce licences stay between you and Salesforce.
More integrations
- Calendly integrationBookings on your site, straight into your CRM
- Microsoft Dynamics integrationWebsite enquiries into Dynamics 365 as leads or contacts
- HubSpot integrationEvery website lead in HubSpot, with its context
- Mollie integrationBancontact, iDEAL and card payments on your website
- Stripe integrationTake payments and paid bookings on your site with Stripe



