Update your Salesforce Web-to-Lead forms by November 17, 2017

If your web site forms are posting Leads to Salesforce, and you are using the Salesforce-provided Web-to-Lead html code, you need to update your web site by November 17, 2017. If you do not, you will no longer receive new leads from Salesforce.

 

How do I know if I am using Salesforce’s Web-to-Lead code?

If you generated your form code by going to Setup | Build | Customize | Leads | Web-to-Lead | “Create Web-to-Lead”, or the existing forms on your web site begin with the following code:

<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">

then you need to make this update.

If you have a custom-built form, ask your developer.

Form vendors such as Gravity Forms and Form Assembly should have made the changes to their systems to support the new endpoint already.

 

How do I update my web site?

  1. For any forms on your website that are Web-to-Lead forms, search the website HTML code for this code snippet:
https://www.salesforce.com/servlet/servlet.WebToLead

 

  1. Replace the “www” with “webto” so that the “form action” URLs in the Web-to-Lead HTML code display as such:
https://webto.salesforce.com/servlet/servlet.WebToLead

 

  1. Beyond just your “Contact Us” page or any inquiry forms, don’t forget to update landing page forms if you have them.

 

  1. TEST! Submit at least 1 test lead in every form, and check the results in Salesforce.

Only the web address to submit leads to is changing, so everything should continue working as before, but it is best to check in case a typo was made.

 

Why do I need to do this?

Salesforce will no longer be redirecting API calls to its www.salesforce.com endpoint, since this is used for its main web site. The new endpoint URL (webto.salesforce.com)  is already available, so updating as soon as possible is recommended to improve the performance and avoid the chances of losing any precious leads.

Note that if you have test forms that are pointing to Salesforce Sandboxes, no changes need to be made to those.

For more information, you can see Salesforce’s documentation on the web-to-lead changes.

 

Questions about Salesforce leads, forms, etc.?

Post any questions in the comments below and we’d be glad to help. Salesforce lead tracking is what CloudAmp is all about.

Advertisements

How to Automatically Assign Salesforce Leads to Campaigns

Salesforce’s Web-to-Lead functionality is a great way to get leads directly into Salesforce. And Salesforce Campaigns provide useful data on what happened to the leads and contacts produced from various marketing activities.

Besides making sure inquiries don’t fall through the cracks by using web-to-lead functionality with Salesforce, any additional data you can add to your web site forms can help your business. Source and keyword data can be added in through an app like our Campaign Tracker, and there are a number of other things that can be added to the form through hidden fields.

One easy addition is to hard-code a particular Salesforce Campaign value in your web-to-lead forms.

This is especially useful if you have many landing pages that are specific to certain advertising campaigns, but you can even do it with your standard “Contact Us” form. Here’s how to do it:

 

  1. Create a Campaign in Salesforce (or go to an existing Campaign)

  2. Copy the ID of the Campaign from your web browser’s address bar

  3. Have your web designer add the following hidden field to your web-to-lead forms, replacing the value with the ID you copied earlier.
    <input type="hidden" name="Campaign_ID" value="7010V000001ufMI">
    
    
    
  4. That’s it! (But run a couple of test leads!)

 

These instructions assume you are using the HTML Salesforce provides in its Web-to-Lead form builder, but it should work (with some degree of modifications) on any form that posts leads into Salesforce.

You can also automatically assign a Lead Source to a particular form, in much the same way.

Be careful of doing this if you are getting the lead source from somewhere else, such as a picklist field on the form that the user fills out, or tracking software. You don’t want to overwrite any other data.

(The CloudAmp apps use their own lead source fields (First UTM Source, Last UTM Source, Lead Source Type, etc. and so will never put data in the standard Salesforce Lead Source field).

<input type=hidden id="lead_source" name="lead_source" value="Contact Us Form">

If you use these tricks, let me know your tips and tricks in the comments below, or hit me up with questions there as well.

Happy Campaigning.

%d bloggers like this: