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. Enhanced redirects are only in the Webform-type integration, and are not available in the LeadConduit Standard or other Source integrations, .
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, unless one of the *_redir_url fields described below is defined and applicable.
success_redir_url
If 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
If 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.
Comments
0 comments
Please sign in to leave a comment.