[Other] Create a quiz to direct users to a product or page

0

Hey WPMUDEV,

I’ve got a client that wants a quiz set up on his site for the sole purpose of directing users to a specific product or page. I’ve taken a look at Forminator, but I can’t figure out a way to do it. 

To add a little context; if we have products designed for a specific need, such as sleep or energy, then we want the quiz to direct customers to products based on their answers. 

I hope this makes sense. Please let me know if this is possible, and if not, could it be included as a Forminator feature request?

Many Thanks,

Tom

  • Adam
    • Support Gorilla

    Hi Tom

    I hope you’re well today and thank you for your question!

    I think this may be doable but it sort of “depends on how complex the rules would be”. I mean – how many “factors”/options would be used and how they related to each other to find out which product/page would be most suitable.

    But in general, there’d be two alternative approaches here.

    A Quiz

    You would want to use a “Personality” type quiz.

    When setting it up you’ll be asked to create “personalities” and those should “match” your products. It won’t redirect but in description you can put a direct link to a given product. You can create multiple personalities.

    Then you would create series of questions and for each question you can add multiple answers – to each answer you assign one of personalities.

    When user submits quiz with answers selected, the answers are counted. Script then knows to which of the assigned personalities the most answers pointed to and returns that “personality” as a result.

    I create a simple quiz like that for you so you could test it and check settings to see exactly what I mean. You’ll find it here (you can use that code to export it to your test site):

    https://pastebin.com/XNUQ4kmm

    This should work fine though mostly for simple “rules”/choices.

    A Form

    This would be another approach.

    You can create a regular form and then use combination of

    – visibility conditions for fields (see here) to show various fields/choices

    – and of “after submission conditions” (see here) to redirect user to selecte URLs based on choices made in the form

    Best regards,
    Adam

    • Tom
      • WPMU DEV Initiate

      Hey Adam,

      Thank you for your response – After testing the form solution looks most promising.

      Regarding the quiz;
      It doesn’t quite hit the mark, but thank you for sending over an example. The stumbling block here is when I have multiple ‘products/personalities’ that need to be selected based on simple ‘yes/no’ questions. The ‘Add Question’ dialogue box only allows me to select one ‘product/personality’ per answer. If multiples could be selected this would work.

      Regarding the form
      It isn’t the most straightforward method, but it does work. So I have 30 products and 5 questions/answers, which means I’ll potentially need to create 150 different URL outcomes. Do you know if adding this many ‘after submission’ behaviour options is even possible?

      Many Thanks,
      Tom

    • Tom
      • WPMU DEV Initiate

      Hi Zafer,

      Thank you for your response. I have previously taken a look into this option. The free trial option gives you just 100 quiz submissions per month, and there after you must pay a substantial reoccurring monthly fee – For just 1000 submissions it’s $99 p/m :dizzy_face:.

      I think for now I will have to make Forminator fit the bill. But if this can be included as a feature request that would be great.

      Many Thanks,
      Tom