Multi-Page Quiz Extension

Most Common Answer Logic

This type of quiz is used to give results based on how many similarities there are between the answers to the questions and the possible results. It will give the user the result that most closely matches the corresponding answers they gave.

We will go over the multi-page setup.

How we did it

Using the SDK’s event listeners, we track which answers the user is clicking on. Then, once the user reaches the end of the quiz and clicks to view their results, we show the layer that is tagged with the name of the answer that they gave the most.

What you need

  • Custom HTML script
  • The Number of answers per question must always equal the number of results. E.g. if question 1 has answer options A, B, C, and D then there must be 4 results.
  • All questions must have the same number of answer options
  • Each answer will correspond to the results later

How to implement

  • 1

    Add Quiz Plugin Code to Ceros Experience

  • 2

    Create Quiz Assets - Question Pages with Answer Hotspots and Result Pages

  • 3

    Create and Tag Answer Hotspots, Add Click Interactions

  • 4

    Tag Results Pages

  • 5

    Option to Reset the Quiz and Start Over