Passing known visitor information into a survey

Expand / Collapse
 
     

Passing known visitor information into a survey


How can i pass known information on one of my website visitors into a survey?

You can pass custom information from your website into a survey you have created by adding the parameters to the query string for the survey.

Use the following example as a guide.

1. Create your survey in the Velaro control panel.
2. Add your questions, for example you want to pass an order number into the survey without the visitor doing anything add the question "Order number".
3. If you are embedding the survey directly into a web page you will need to get the correct script for this in the Velaro control panel.
4. Once your survey is completed go to Deploy -> Surveys.
5. Select the option to "Display a Specific Enabled Survey"
6. Select the survey from the list presented.
7. Select "Embed a Survey into your web site"
8. That will display a script similar to the one below.

 "<script src="http://service.velaro.com/Survey/survey.asp?SiteID=XXXX&SurveyID=XXXXX&embed=yes"></script>"

9. You will need to add the parameters to this script to pass the information. For example if one of your questions in your survey was "order number" and the parametr you use for the order number is "myordernumber" you would append the above script like this.

 <script src="http://service.velaro.com/Survey/survey.asp?SiteID=XXXX&SurveyID=XXXXX&embed=yes&ordernumber=myordernumber"></script>

Some things to note on passing information.
1. Your questions in your survey can not end with a question mark (?)
2. You can use only these types of answer fields
 1. Single line text
 2. Multiline text
 3. Hidden field.
3. Your website visitors will be able to see and edit fields that are single or multiline text. If the question in the survey is a hidden field it will only be displayed to you in the results, your visitors will not be able to edit this answer.

You can also pass in this type of cusstom information if you place a link for the survey in your web page. You would need to append the link for the survey in the same manner.


Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Sunday, April 12, 2009
Last Modified By: Jasen
Type: FAQ
Rated 5 stars based on 1 vote.
Article has been viewed 668 times.
Options