Question piping offers a great way for you to customize start and finish messages, insert tags via name/value pairs and get more detailed information by placing answers into future questions. Here’s what you need to know about question piping to customize your surveys and quizzes. Note that question piping is a feature for paid account holders only.
Customizing questions with previous answers
Let’s say we’re running a pie shop. We want to know which type of pies our customers love most and why. This way, we can better plan inventory and make sure we’ve got plenty of fresh pies on hand each day. We’ve added a question to collect each participant’s name and created a multiple choice question (question two) which asks participants to select their favorite pie. Note that Gus selected Pumpkin as his favorite type of pie:
On question three, we want to know why Gus likes the type of pie he chose. We can pipe his answer from question two, into question three, to learn more:
Note that to work as expected, the piped questions must be on separate pages:
Now the answer that Gus supplies in question two, will automatically be piped into the question text for question three:
Custom start messages using seeded data
If you already have certain information about your participants, such as their name, you can pipe this seeded data into a custom start message. Here’s how to do it.
Let’s say you’d like to personally greet the participant by first name when they take the survey. This is particularly useful if you’d like to use a survey to follow up after a sales call, or after a customer uses your service. You would first need to append a tag with the customer’s first name into the survey URL and then pass that information into the custom start message.
Here’s a typical survey URL:
If you want to greet the individual by first name, you can seed this in the URL, where
q_1_first_name refers to the first name for question one:
Then, you would place the
[Q1 first_name] tag in your custom start message, like so:
When Gus follows the link you’ve supplied to the survey, he’ll see his first name in the custom start message:
Additionally, seeding Gus’ first name in this manner will pre-populate his first name in question one:
Customize finish messages
Here’s how to use question piping to customize a survey’s finish message. Note that custom finish messages are available to paid customer accounts only. As the first question in our survey, we’ve asked for the participant’s name:
We’ll set up question piping to include the participant’s first name in the custom finish message to personally thank them for completing our survey. Note that we’ve added [Q1 first_name] to our custom finish message text. This pulls the answer the participant provided in the first name field of question one, and places it into the custom finish message. If you like, you can add the last name, too, using the following: [Q1 first_name last_name].
Here’s the custom finish message, with the answer to the first name field from question one, piped in:
Customize redirect URL
You can also use piping to pass data to the redirect URL:
The URL will be correctly encoded.