Rules are used throughout your shop quiz to customize how each customer will experience your quiz. Depending on where you add your rules, they'll dictate different parts of your quiz.
For this article, we'll focus on using rules in your questions and other sections like opt-ins and explainer pages. Using these rules, you'll be able to jump to a specific page in your quiz based on a customer's actions.
For a comprehensive guide to rules throughout your whole quiz, check out this article instead.
Table of contents
3. Adding rules
1. What can I do with rules in a question?
When you add rules to a question, you can use it to do one of the following:
Choose the next question a customer will see.
End the quiz and jump to results.
If you don't manually add any rules, then your quiz will move to the next question in chronological order (or to results if it's the last question in your quiz).
Once you get the hang of the rules, you'll be able to do a lot with your quiz logic, such as:
Create different pathways through your quiz.
Set different endpoints depending on answers.
Create a skip function.
...and much more!
2. Finding rules
You can edit rules in the shop quiz edit interface. Editing the rules for a particular question requires you to open that question before finding the rules tab.
Remember, the rules here decide which section a customer sees next, but it doesn't determine the exact results they'll receive.
If you want to specify the conditions someone will need to meet to see a particular set of results, those rules are set up in results pages rather than in your questions.
3. Adding rules
There are two types of rules you can create for sections:
Rule for the section
The rule for the section only chooses the general direction your quiz heads in after the current question you're editing. If you select "Results", then your quiz will end and the user's results are calculated based on any rules you've added to your custom results pages.
If the user doesn't meet any of the conditions you've set, they'll arrive at your default results page.
Rules for specific answers
Underneath the general rule for the section, you can create rules that specify which section someone will see next. You can make these rules require multiple answers, and you can even use answers from other questions.
You can add as many rules to a single question as you'd like, so you could make each answer jump to a different page if you'd like.
4. Using rules to create a skip button
As an example of how to use rules, let's create a skip button for one of your questions.
While opt-in and explainer pages can both include skip buttons by default, that option isn't present for multiple & image choice questions. However, you can manually add one using the instructions below.
1. Add a blank answer to your question.
First, you'll need to add a blank answer to your question, Do that by selecting the "Add answer" option in the quiz editor.
2. Fill in your "Skip" answer.
Next, you'll want to fill in any necessary fields for your new answer. Since this example uses an image choice question, I need to add an image and text for the answer.
Don't add rules here - rules inside of an answer will only be used to show or hide the answer option when someone is taking the quiz.
Instead, go back to editing the question by clicking the back arrow.
3. Scroll down to RULES and create a new rule.
Once you're back to viewing your question, you'll want to add a new rule here. You can do this by selecting the "Add rule" option.
4. Create a rule that tells the quiz where to go when a user selects the skip option.
By selecting the new skip answer that you created, you can now choose which specific page a customer will see when they select skip.
If you don't create this particular rule, customers will simply move onto the next question instead so a skip rule is only necessary if you want to show users a different question besides the next one when they select "Skip this question".
Have any further questions? Just use the support icon in the bottom right of the page or send an email to [email protected].