Blog | Facebook | Contact      en  pl
Professional online survey tool
Help sections
FAQ

How to configure an online survey widget

Widget is usually small survey displayed as a floating object on a web site. Widget can have any size and shape. Default size is 320 px but you can adjust it to your need.

SURVEY WIDGET (NEW)

Events

You can set different triggers and decide who and when will see the survey widget

  • display after (seconds)
  • display on scroll
  • display on mouse leave the page
  • display on certain url

SURVEY WIDGET (OLD)

mysurveylab.com enables widget configuration and customization so it can fit individual needs of each customer. On default widget code displays small object (with a survey link) attached to the right edge of a web site.

online survey widget - stripe

<link href="http://mysurveylab.com/inc.css/mysurveylab-box-v3_base.css" rel="stylesheet" type="text/css"/>
<link href="http://mysurveylab.com/inc.css/mysurveylab-box_survey_en.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://mysurveylab.com/inc.js/mysurveylab-box-v3.js"></script>
<div id="mysurveyLabBox" class="mysurveylab_box"></div><script type="text/javascript">
    var mysurveyLabBoxConfig = new Array();
    mysurveyLabBoxConfig.src = 'http://mysurveylab.com/pageTag/SurveyCampaign/cId/e7ea96c2a91846b7fdb3824f16fd63db0a8d2c0c/';
    mysurveyLabBoxConfig.cId = '5aaf143b72fcbc5285741c83b62eaf9ad2ffaadc';
    var mysurveyLabBox = new MysurveyLabBox(mysurveyLabBoxConfig);
</script>

Alternatively you can display a small box placed in the center of a web site with a survey invitation.

online survey widget - box

To do it you need to add four additional lines to the widget code, just before a line "var mysurveyLabBox = new MysurveyLabBox(mysurveyLabBoxConfig);".

parameter description
mysurveyLabBoxConfig.autoShowTimeout = 60; time in seconds to display survey invitation box
mysurveyLabBoxConfig.autoShowTitle = 'Survey'; survey invitation box title
mysurveyLabBoxConfig.autoShowBody = 'Please press open button to start survey ... '; survey invitation box message
mysurveyLabBoxConfig.autoShowButton = 'Open survey'; survey activation button description

System will automatically remember user that already have seen the invitation and won't display it again as he/she will refresh or return to the website.

Do you need specific survey widget functionalities? Write us. We can modify or extend functionality to meet your needs.


Related pages