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

How to configure an online survey widget

Widget is a small object displayed on a web site. In our case this kind of objects allow to present survey or survey link in more attractive way that encourages users to click it.

mysurveylab.com enables widget configuration and customization so it can fit individual needs of each customer.

survey widget (simple)


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.

survey widget (advanced)


Advanced widget enables you to display any graphical element that can be used as a survey invitation.

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


Related pages