Voxpopme
This article will show you how to integrate Voxpopme into your survey
Background
Voxpopme is a third party integration that will allow you to have respondents submit video open ends for a multitude of reasons.
See the link below for more details:
https://site.voxpopme.com/
Step 1: Voxpopme Account
- You will need a Voxpopme Account. This will allow you to configure your project. If you already have one, skip this step.
- Log into your Voxpopme Account and configure your project
- The following steps below will help your configure some of the missing items that are specific to our survey platform.
Step 2: Programming a Radio Question
- Add a 'Radio Question' where you would like the Voxpopme Integration to occur in your survey
- See article: Standard Question: Radio items (Single Select)
- Add your question text as needed
- Add the following code to the 'Source Code Editor' of the 'Footnote' field
- See article: Source Code Editor
- Here is the code:
<div class="vpm-capture-widget"> </div>
- Add the following code to the '+ Javascript' field
- See article: Adding JavaScript and/or CSS to a Question
- Here is the code:
var $ = jQuery, q = $("[data-qnum='Q405vid']"); // UPDATE THE QUESTION NUMBER TO MATCH YOUR RADIO QUESTION window.vpm_widget_config = { "project_id" : "abc1234567890", // UPDATE ON EVERY SURVEY "settings" : { "locale" : "en_US" }, "additional_data" : { "ID" : "[[ID]]", "Token" : "[[RESP_TOKEN]]", "Question" : "Q405", "Age" : "[[SC2_1]]" }, "disable_next_button" : function() { //cmSurvey.disableNextButton(true); }, "enable_next_button" : function() { q.find(".cm-radio-response-set li:first-child input[type='radio']").prop("checked", true); q.find(".cm-radio-response-set").slideUp("slow"); cmSurvey.disableNextButton(false); } }; q.find(".cm-radio-response-set input[type='radio']").change(function(){ cmSurvey.disableNextButton(false); }); // Used to speed up the NEXT page button actions cmSurvey.disableNextButton(true);
- Add the following code to the '+ CSS' field
- See article: Adding JavaScript and/or CSS to a Question
- Here is the code:
.vpm-responsive-container { margin: 0 auto; } .cm-radio-response-set li:first-child { display: none; }
- Add your response list. You will have two items:
- Punch #1 = "Video Submitted". This will be hidden from all respondents and will be coded if a Video was submitted
- Punch #2 = An opt out. Something such as, "I'm having technical difficulty or I no longer would like to record a video response". This will be shown to all respondents so they can skip the Video portion and continue with the survey.
Step 3: Static Element
- On the same page as your 'Radio Question' from step one, add a 'Static Element' underneath it
- See article: Standard Question: Static Elements
- Add the following code to the 'Source Code Editor' of the 'Question Text' field
- See article: Source Code Editor
- Here is the code:
<script src="https://capture.voxpopme.net/main.js" async=""></script>