Follow

Enhanced Redirect Control Fields

The Webform type inbound integration supports an enhanced redirect feature. This feature enhances the basic redir_url control field, giving the submitter the ability to redirect the user to different urls depending on the outcome of the lead.

redir_url

This is the catch-all redirect field. If redir_url=[[link to page]] is present in the submit request, the user will be redirected to [[link to page]] on success, failure, or error, provided one of the other redir_ field described below is not defined and applicable.

success_redir_url

Ff the submit request contains a success_redir_url=[[link to success page]] field, the user will be redirected to [[link to success page]] is the lead's outcome is "success". If this is not defined, the action will fall back to that defined by redir_url.

failure_redir_url

Ff the submit request contains a failure_redir_url=[[link to failure page]] field, the user will be redirected to [[link to failure page]] is the lead's outcome is "success". If this is not defined, the action will fall back to that defined by redir_url.

error_redir_url

If the submit request contains an error_redir_url=[[link to error page]] field, the user will be redirected to [[link to error page]] is the lead's outcome is "success". If this is not defined, the action will fall back to that defined by redir_url.

Submitted fields, the lead outcome, and the outcome reason may be dynamically inserted into any redirect url value by using the {{variable}} nomenclature. For instance, if you want to redirect with the provided first name (originally submitted in the "fn" parameter), use this: failure_redir_url=http://mypage.com/sorry.html?name={{fn}}&why={{reason}}.

The redirection URL values can be provided in hidden form fields or in the posting URL querystring. If the latter is used, the redirect URLs need to be URL encoded.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

You must be logged in to comment.