function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CRM_PeteCRM_Pete 

Best way to test Web-to-Lead with reCAPTCHA?

I have an old sites.google.com site, but that doesn't help, probably because that domain is shared.
I thought I'd try WordPress, then came to realize there's .com and .org -- Turns out the free WordPress.com account I signed up for probably doesn't allow me enough control on the page. My understanding is that WordPress.org would allow the control, but I need to have it hosted, etc.

So, is there a simple way to test Web-to-Lead with reCAPTCHA? Particularly for a "functional" consultant with limited tech skills?

Thank you!
SwethaSwetha (Salesforce Developers) 
HI,

In salesforce, yes, you can test Web-to-Lead with reCAPTCHA following these steps :

- Go to Setup > Leads > Web-to-lead.
- Click on the "Create Web-to-Lead Form" button.
- Select the fields you want in the form and the Return URL where the user will be redirected after saving the record.
- Check the "Require reCAPTCHA Verification" checkbox.
- Register for reCAPTCHA with Google and provide your domain name.
- Use the site key and secret key provided by Google in Salesforce.
- Test the Web-to-Lead form with reCAPTCHA by filling out the form and submitting it.

Related;
https://www.sfdcpoint.com/salesforce/salesforce-web-to-lead-form-with-recaptcha/
https://www.biswajeetsamal.com/blog/salesforce-web-to-lead-form-with-google-recaptcha/
https://stackoverflow.com/questions/15345063/recaptcha-with-salesforce-web-to-lead

If this information helps, please mark the answer as best. Thank you
 
CRM_PeteCRM_Pete
Hi Swetha,

Thank you for the detailed reply, including the links, but maybe I didn't describe my issue as well as I should have. What I'm looking for are suggestions on how best to set up a self-managed website that I can use to test Web-to-Lead with reCAPTCHA.

As I mentioned, my old Google Sites site has a widely shared domain name, so that's probably why my reCAPTCHA won't work.

Is there a (fairly) simple and ideally free web host where I can have my own domain, like WordPress.com, but still have enough control to set up a simple Web-to-Lead web page?

Thanks!
Titus DesmondTitus Desmond
If your testing on the local environment was successful, deploy the changes to your staging or development server. Repeat the testing process https://advancedcardetailing.com/ in this environment to confirm that everything works as expected in a live-like setting.
Empire WorksEmpire Works
A straightforward approach to testing Web-to-Lead with reCAPTCHA for a functional consultant with limited technical skills is to leverage website builders like Wix or Squarespace, and incorporate reCAPTCHA. WordPress.org offers more control but requires hosting. These user-friendly platforms can help you set up forms with reCAPTCHA for your EmpireWorks (https://www.empireworks.com) website without the need for advanced tech skills or hosting hassles.