Redirect to different WebToLead Pages

Less than one minute read time.

A client has two WebToLead pages for two different regions of customers. Once they have submitted the information, they wish to redirect them to their respective websites.

If you go to Administration->Customizaton->Lead->WebtoLead, you will notice that you can only have one 'Web Lead Return Url".

A way to workaround this is to use Cookies. On one of your WebToLead pages, you can add this following piece of code (you will have to convert your WebToLead page to ASP):

Response.Cookies("WebToLeadSource")=1

Then create a separate redirect page that all users will be pointed to after submitting a Web Lead and, for example, call it 'redirect.asp':

if (Request.Cookies("WebToLeadSource")=1) then
Response.Redirect(
http://site1.com);
else
Response.Redirect(
http://site2.com);
end if

When you go back to Administration->Customization->Lead->WebToLead, use the redirect.asp page under 'Web Lead return URL'.