Ability to redirect to multiple thank you page based on form response
On a form, there is a field with two different responses, which helps to determine the ideal customer. It is very important to have the feature to redirect a visitor to separate thank you pages based on the response. To B2B customers, we sell our products directly but to B2C customers, we redirect them to e-commerce channels (such as eBay or Amazon). In this case, both the types of customers are important. We can use one landing page and form to target both types of audiences to promote the product but redirect them to the relevant offer/content based on the response.
Weitere Ideen mit folgender Beschriftung anzeigen:
I just had this need today. We are doing an email and paid ads to get people to our tradeshow booth. I would like to ask, are you attending the tradeshow.
If yes, then go down a path to book a demo time and show them the booking calendar widget that only has the 4 days of the tradeshow as options. Drip with our booth #, and a few other things that make us unique.
If NO, then they go a separate page that has an embedded presentation with an option to book a demo time after the tradeshow, so I would embed my normal calendar into this other page.
Right now, I think the only way to do this is have an initial splash page with 2 CTAs - are you going? Yes or No and then redirect them to 2 separate landing pages. Correct?
This is very important for us. We have a company account, and we have many problems with users who register and do not comply with a necessary feature to become a customer. If Hubspot would have this solution we could ask if they have that feature in advance and redirect them to 2 different thank-you pages depending on what they select. Please do it fast !!
Yes sir!! This is very important for us! Please develop this functionality because we are desperate to have this solution. Does anyone know an alternative?
YESSSS!!!!!!! I am wanting to create a complex form that would be used for price requests for mutiple models of machines. Since all the machines have different prices I would like to be able to direct the filler to a specific landing page to download that specific price for the machine requested.
This would be a very complex form, but would save me form creating many forms that look almost identical.
I am trying to follow anders solution that he posted but I am using a Dropdown (select) box how would I do the same logic but using a select value instead?
<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({
portalId: "xxxxxxx",
formId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
css: "",
onFormSubmit: function($form) {
var choice = $('input[name="redirect_choice"]:checked').val(); -- need this to be for a select box based on lead_type
if (choice == 'Redirect 1') {
window.location = 'http://www.example-1.com';
} else if (choice == 'Redirect 2'){
window.location = 'http://www.example-2.com';
} else if (choice == 'Redirect 3'){
window.location = 'http://www.example-3.com';
}
}
});
</script>
Make sure that you DON'T tell hubspot to redirect to another page on the "Options" tab of the form builder. Instead, Diplay a thank you message, write something like "Thank you for submitting the form. You will be redirected shortly." and then you shouldn't have any redirect issues on the window.location piece.
@anders_grove I am trying to make your setup but for a single checkbox field. When someone checks the box they are directed to one page, and when they don't they are directed to a different page. The issue I am running into is the form does not let me edit the embed code. Where do I place the code?
Sie müssen ein registrierter Benutzer sein, um hier einen Kommentar hinzuzufügen. Wenn Sie sich bereits registriert haben, melden Sie sich bitte an. Wenn Sie sich noch nicht registriert haben, führen Sie bitte eine Registrierung durch und melden Sie sich an.