Think. Build. Salesforce Solutions.

Salesforce Consulting Services across Salesforce Clouds & Across App Lifecycles


A step by step Guide to create Salesforce web-to-lead form

By |2020-09-14T06:50:38+00:00September 7th, 2020|

Salesforce already had a cool feature where you can create custom HTML web-to-lead form that can be simply put up on your website to prevent company org. from spam leads. Before this feature, it would be a time taking activity for the marketing team to identify the spam leads or actual leads. 

In this competitive world, every business, small or large has a website. It is an effective way to promote your product or services among target audience. A company website is the first place of interaction where anyone can look at, if he/she is interested in your product or want to clear his/her query. To become more productive than ever, companies integrate their website with Salesforce CRM. This exercise prevents automated bots from creating havoc on your sites and keep your company org. with quality leads.

create web to lead form in salesforce

Why ReCaptcha on Salesforce Web-to-lead forms?

1. Makes difficult for spam-bots to create junk leads.
2. Prevent from spamming
3. Keep your org with quality leads.
4. Maximize ROI
5. Get clear lead insights.

Steps to create ReCaptcha on Salesforce web-to-lead forms.

To achieve the Salesforce web-to-lead forms follow simple steps as below:

Step: 1. Login to your Google reCAPTCHA Account.

salesforce web to lead

Step: 2. After login, you have to add Label as in the picture below.

guidelines to setup web to lead in salesforce

Step: 3. Post that, Check-in the box “reCAPTCHA v2” and then tick checkbox “I’m not a robot”.

how to create salesforce web lead form

Step: 4. After that, add your domain name under Domains section.

web to lead in salesforce

Step: 5. Post that, Checkin the “Accept the reCAPTCHA Terms of Service” and then click on the Submit Button.

web to lead

Step: 6. After submitting, you will get “COPY SITE KEY” and “COPY SECRET KEY” on the next page. Copy these keys and save in notepad.

salesforce web to lead api

Step: 7. Now login to Salesforce Developer Account.

Step: 8. After login, Click on setup and go to web-to-lead form then click on “Create Web-to-Lead Form”. 

create salesforce web to lead forms

Step: 9. Post that, Select the fields that you want to choose, and add a Return URL. And then click on the Search reCAPTCHA API Key pair.

setting up web to lead form in salesforce

Step: 10. Now yow will be redirected to Lookup. Here you have to click on “NEW” button.

how to test web to lead salesforce

Step: 11. Here you have to enter API Key Pair Nickname, Site Key, and Secret Key then click save.

customize salesforce web to lead form

Step: 12. Post that, click on “Generate” to create form.

edit web to lead form from salesforce

Step: 13. Post that, you will find your HTML code is ready. Put that HTML code on your company’s website and start capturing leads from there.

salesforce web to lead demo

We are a preferred Salesforce Partner with over a million hours of experience in Salesforce Customizations, Implementation, Development, and Integration services. Our Salesforce Customization and Salesforce Integration services enable our clients with on-time and on-budget delivery of Salesforce Implementation and Integration projects with good user adoption.

Feel free to reach out to us for your queries, we would be more than glad to help you out!!.


  1. Shaun September 25, 2020 at 12:30 pm - Reply

    Your means of describing everything in this piece of writing is really good, all be capable of easily be aware of it, Thanks a lot.

  2. Jody Cayton September 27, 2020 at 5:48 am - Reply

    This weblog is genuinely awesome.

  3. barter September 27, 2020 at 4:23 pm - Reply

    Hello there! This article coսldn’t be written much better!
    Looking through thіs post reminds me of my previous roommate!

    Нe continually kept preaching about this. I’ll send this infoгmatіon to him. Ϝɑirly certain he’s going to have a great read.

    Thanks for ѕharing!

  4. Ashleigh October 2, 2020 at 8:09 am - Reply

    Wonderful blog! I found it while searching on Yahoo News.
    Do you have any suggestions on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!

  5. Michale October 2, 2020 at 2:57 pm - Reply

    My relatives every time say that I am killing my time here on web, however, I know I am getting familiarity all the time by reading this nice article.

  6. Kandace October 4, 2020 at 7:23 am - Reply

    Awesome post.

  7. Kathimcgarry October 5, 2020 at 10:00 pm - Reply

    I absolutely love your blog.. Very nice colors and theme.

  8. Barry Barrios October 10, 2020 at 10:52 am - Reply

    Hi there outstanding blog!

  9. Marilyn Ringler October 11, 2020 at 11:26 am - Reply

    Excellent post. I used to be looking for something completely different but stumbled on your site. I am pleased I did.
    Thank you for sharing useful information. Thank you and all the best.

  10. linique de physiotherapie montreal nord October 12, 2020 at 2:11 pm - Reply

    I’m impressed, I must say. Rarely do I come across a blog that’s both equally educative and entertaining, and without a doubt, you’ve hit the nail on the head.
    I’m very happy that I came across this during my search for something relating to this.

  11. Duane Shufelt October 13, 2020 at 7:30 am - Reply

    That is really attention-grabbing, You’re an overly skilled blogger.
    I have joined your feed and stay up for seeking extra of your excellent post.

    Additionally, I’ve shared your site in my social networks

  12. Linda October 13, 2020 at 11:34 pm - Reply

    Only wanna state that this is very helpful, Thanks for taking your time to write this.

  13. Julie October 21, 2020 at 10:01 pm - Reply

    This is really interesting, You are a very skilled blogger.
    I’ve joined your feed and look forward to seeking more of your great post.

  14. Sofia October 23, 2020 at 2:57 am - Reply

    Thank you for the blog post…

  15. Moseely October 28, 2020 at 10:00 am - Reply

    Great post. I was checking constantly this weblog and I’m inspired!
    Very useful info particularly the final section 🙂 I handle such info a lot.
    I was looking for this certain information for a very long time.
    Thanks and best of luck.

  16. Harry January 23, 2021 at 6:36 am - Reply

    Truly, this article is really one of the very best in the history of articles. I am an antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work!

  17. KGarg March 10, 2023 at 7:33 am - Reply

    Hi 🤚 Rahul, thanks for 😊 writing ✍️ this step-by-step guide on creating a Salesforce web-to-lead form! I’m trying to find a way 💫 to create linked records within Salesforce using a form and came across your article and the Salesforce form guide by Arrify..
    I was wondering if the method you 😀 described in 👏👏 the tutorial allows for creating linked records via lookup, or if it’s limited to creating standalone records.
    Do you have any experience with this or any thoughts on the matter?

Leave A Comment