Using a Marketplace experience as an example, this article describes how to create a multiple-choice survey and how to collect and analyze the responses using Intuiface Analytics.
Our example has a retail theme but the questions and graphics can, of course, but changed for use in any context.
The sample experience - named "Shopper Survey" - can be found on the Marketplace tab of Composer's Experiences panel. You will also find it here on our website: https://my.intuiface.com/marketplace/detail.aspx?name=Shopper%20Survey
The "Shopper Survey" experience is comprised of three scenes:
- a starting scene
- a scene that cycles through all the questions
- a closing scene
The starting and closing scenes make it easy for data collection to distinguish between user sessions - that is, to distinguish one survey participant from another.
Having a multiple-choice survey means asking one or more questions, each of which has two or more answers. There are no right or wrong answers so answer validation is not necessary.
In this experience, all questions are stored in an Excel file, enabling us to profit from the power and simplicity of the Excel Interface Asset.
As shown above, each question has a unique row. The columns for each question row are as follows:
- question number
- text of the question itself
- text of each possible answer
NOTE: We decided to go with a maximum of 4 possible answers but this can be extended by just adding columns
- path to a graphic illustration customized for the given question
Controlling answer button visibility
Each possible answer is represented by a button. These buttons should only be displayed if there is a corresponding answer in the table. Is it possible to hide a button if there is no answer?
In fact, yes, using a neat trick. To control whether a button should be visible, the Visible property of each button is bound to the corresponding answer cell for each question. If the cell is anything but empty, the Visible property is automatically set to True; if the cell is empty, the Visible property is automatically set to False. This approach works because as a true/false (aka boolean) property, Visible will consider any text string as a positive value, while considering an empty cell as a 0 - i.e. false.
Linking survey results to Analytics
When a question is answered, the experience records a datapoint with an event name of "SurveyAnswer" and with three parameters:
- Question Number
- Question Description
- Answer Description picked by the user
Visualizing answers using Intuiface Analytics
Once this survey has been run a couple of times, you will be able to create a dashboard with compelling charts about answer distribution, survey duration, number of surveys completed per day, etc.
Building a question dedicated chart
Here is an example of a possible chart for understanding the answer distribution of a particular question:
Note the use of the Chart Control feature (in the bottom left of the Chart Editor) based on the Device Name. By doing so, each dashboard user will be able to filter results by a specific device, meaning - in our case - filtering survey results "by store", supposing there is a single device running the survey in each shop.
We created a dashboard based on test data entered into the sample experience. It includes five answer summary charts, one per question, as well as two charts taking advantage of session capture. They are:
- Average number of survey takers per day
- Average survey duration