Pre-Test and Post-Test Surveys are a common practice in the surveying world. In the Pre-Test survey baseline data is collected. Then, at a later date, the Post-Test survey collects follow-up information after some treatment has been applied. Usually, survey researchers would like for this data to be in the same survey so that they can easily make data comparisons in the analysis phase.
The basic set up for a Pre and Post Test Survey is pictured below. Respondents will start their response in a gateway survey that is used to create a unique identifier for each respondent. Then, using the a URL Redirect action, the respondent will be passed, along with their unique identifier, to the pre-test portion of the Pre- and Post-Test survey.
Later, when it's time for the post-test response to be completed, the respondent will return again to the gateway survey, enter their unique ID and be redirected to the post-test portion of the Pre- and Post- Test Survey.
Let's say, for example, a university professor wants to gather information on whether, and, if so, how the thinking of students change due to taking her Race, Ethnicity and Identity class. By collecting pre-test data on her students' attitudes at the beginning of the course and post-test data on their attitudes after the course she'll be able to measure any change in students' attitudes.
The following SurveyGizmo features are used in this example:
- Thank You/Terminal Pages
- Text/Instruction Elements
- URL Redirect actions
- The __sgtarget URL Variable
- The sguid URL Variable
Check it out and see the process in action in an example survey!
Add the Gateway and Pre- and Post-Test Surveys to your US account!
Add the Gateway and Pre- and Post-Test Surveys to your EU account!
Add the Gateway and Pre- and Post-Test Surveys to your CA account!
Step 1: Set Up Your Pre- and Post-Test Survey
Start by creating your Pre- and Post-Test survey. This survey can be designed more or less as you desire. You'll want to make sure that the pre-test page/s precede the post-test pages. You'll also need to add a page between the pre-test and post-test portions of the survey. To do so, click Add Page to insert an interstitial page; this will serve as the Thank You page when your survey respondents record their pre-test response.
Add a Text/Instruction element to this page and add something like the below text letting respondents know that they've finished their pre-test response.
Finally, click the pencil icon above your interstitial page to edit. On the Logic tab change the Terminal Page setting to Yes. This will remove the ability for pre-test survey respondents to move past this page.
You can optionally add a page title on the Page tab while you are editing the page. Click Save Page when you are finished.
Step 2: Create a Gateway Survey
Next, you'll need to create a survey to use as your gateway survey. You don't have to call it a gateway survey, in fact, you could use the same survey title that you plan to use as your Pre and Post Test survey title.
Set Up Two Textbox Questions to Create and Verify a Unique Identifier
On the first page, add a Textbox question to collect a unique identifier for your survey respondents. If your survey is not anonymous you can simply use the respondent's email address as the unique ID, in which case, you will want to use the Email question type. Whichever question you do use, make sure to require the question as knowing who is who is essential!
If your survey is anonymous you'll want to design some other entry that is likely to be unique. Be sure to add some guidelines to ensure that entries are truly unique.
Next, add a second subsequent Textbox or Email question to validate that the entries match. To set up this matching validation, go to the Layout tab, scroll to the Advanced section, and select the first Textbox or Email question in the Verify this question matches a previous question on this page dropdown menu.
Create a Pre or Post-Test Question
You'll also need a question in your gateway survey to determine whether the respondent is intending to record a pre- or a post-test response; add a Radio Button question to gather this information.
So, the first page of your gateway survey should look similar to the below page. If you wish, using a Text/Instructions element, you can add a greeting and/or instructions for your survey respondents.
Step 3: Set Up a Redirect to the Pre- and Post-Test Survey
The final step is to set up URL Redirects to send respondents and their unique identifier to the Pre- and Post-Test Survey. You'll need one redirect for the Pre-Test and one redirect for the Post-Test.
Start by copying the Pre- and Post-Test share link on the Share tab. You can customize this link first, if you wish.
Head back to your gateway survey and start by setting up the redirect for the pre-test. To do so, click Add New Action > URL Redirect on the Thank You page.
Paste the share link for your Pre- and Post-Test survey in the URL field and scroll to the Fields To Pass Section. Under Question to Send, select the question in your survey where survey respondents enter their unique ID in the dropdown menu and click Add Field. In our example, this is the email address question.
In the Variable Name field that appears enter sguid, lower case, no spaces. SurveyGizmo recognizes this variable and will store this as a unique identifier which is the key to returning your survey respondents to the same response when it comes time for the post test.
To complete the pre-test redirect, go to the Logic tab and select Only show this action based on answers to previous questions or other logic conditions. In the logic builder that appears, select the question you set up asking respondents whether they are recording a pre- or post-test response in the first dropdown menu. In the operator dropdown menu select is one of the following answers and finally check the Pre-test answer and click Save Action. With this logic set up this action will now only fire for pre-test responses.
Next, you need to set up a URL Redirect for post-test responses. Before you can add this action, you'll need to return to the Pre- and Post-Test survey to get the page ID for the first page of the post-test portion of the survey. Not sure where to find page IDs? Check out our How to Find Question, Page and Option ID Tutorial.
Once you've made note of your post-test page ID head back over to your gateway survey to set up your post-test redirect. The setup is almost the same as the pre-test redirect setup with the addition of a URL Variable that will be used to send the respondent to the post-test page of the Pre- and Post-Test survey.
Paste the share link for your Pre- and Post-Test survey in the URL field and scroll to the Fields To Pass Section. You'll need to set up the sguid variable again as in the pre-test redirect by pulling the value from the field where survey respondents enter their unique ID.
You'll also need to set up a second value to pass. In the Question to Send dropdown select Static Value and click Add Field.
In the Variable Name field that appears enter __sgtarget, lower case, no spaces (be sure to add 2 underscores first). In the Default Value field enter the page ID that for the first page of the post-test portion of your Pre- and Post-Test survey. __sgtarget is a pre-built URL Variable that SurveyGizmo recognizes as a directions for which page to go to.
To complete the post-test redirect, go to the Logic tab and select Only show this action based on answers to previous questions or other logic conditions. In the logic builder that appears, select the question you set up asking respondents whether they are recording a pre- or post-test response in the first dropdown menu. In the operator dropdown menu select is one of the following answers and finally check the Post-test answer and click Save Action. With this logic set up this action will now only fire for post-test responses.
Step 4: Test, Test, and Test Again!
Now, you are ready to test. Record several responses to ensure everything is working properly. Make sure to record both pre- and post-test response and check the data to ensure that the data has been collected within one response. This can be confirmed under Results > Individual Responses.
On the Details tab of the individual response you'll see the unique identifier that has been stored in the sguid for the response. On the Data tab you can confirm that both the pre- and post-test data has been stored.
Step 5: Share Your Gateway Survey Link
Once, you've tested and confirmed everything is working properly you are ready to start collecting responses. You'll be sharing the share link from your gateway survey with your potential respondents.
In the example surveys available for download above we set up a couple of additional customizations covered below.
- Set up a Hidden Value action to store the unique identifier for each response - Like any other URL Variable, our system will record sguid automatically. However, depending on what you want to do with the values you receive, you may want to capture them in a Hidden Value when you create your survey. In our downloadable survey above, we added the hidden value to both the pre-test and post-test portions of the survey.
- Restart question numbering on the first page of the post-test portion of your survey - By default, the question numbering for the post-test portion of your survey will start where your pre-test portion left off. You can use a copy-and-paste script to Restart Question Numbering.
- Change text of the button at the end of the pre-test portion of your survey - The button to progress to the pre-test Thank You page will read "Next" by default. To change this, check out our Change Text of a Button on a Specific Page Tutorial.
Alternative Options for Setting Up Pre- and Post-Test Surveys
As with most things at SurveyGizmo there are a million and one ways to skin this pre- and post-test cat. If the above description does not quite meet your needs consider these alternatives! Each of the below options is covered in our Return Respondents to a Later Page in a Survey Tutorial.
- Use an Email Campaign Reminder to Return Respondents to the Survey - If you have a list of contacts that need to be pre- and post-tested, you likely want to use an email campaign to invite survey respondents to participate in your pre- and post-test survey. For email campaigns you can you can modify the link in a reminder message to navigate to a specified page. Note, Email Campaigns CAN be use in combination with our anonymous survey setting if this is a requirement for your Pre- and Post-Test Survey.
- Use a Delayed Send Email Action to Return Respondents to the Survey - Setting up a delayed send email action to return respondents to the survey is a simply method for accomplishing pre-test/post-test survey data collection.