Code demo

Trigger a website survey - including background data

The demo uses either an anonomous web survey link or a web survey link including background information.

Code

<!-- put in head --> <link href="https://dm.quicksearch.se/quicksearch.websurvey.css" rel="stylesheet"> <!-- /put in head --> <script src="https://dm.quicksearch.se/quicksearch.dialoglink.js"></script> <script src="https://dm.quicksearch.se/quicksearch.websurvey.js"></script> <script> var dialogLinkConfig = { "data" : { "first_name" : "John", "last_name" : "Doe", "mobile_phone" : "555-123456", "extraField1" : "Summer campaign", "extraField2" : "Product1;Product2;Product3", "extraField3" : "Good customer" } }; var webSurveyConfig = { "Width": 400, "Height" : 400 }; Quicksearch.WebSurvey(Quicksearch.DialogLink("B832E9B6Z7050", dialogLinkConfig), webSurveyConfig); </script>

Result

A 400px x 400px survey will pop up on this page once page is loaded