Code demo

Trigger a website survey - From a Feedback tab

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 src="https://dm.quicksearch.se/quicksearch.feedbacktab.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 feedbackTabConfig = { "FeedbackTab" : { "Text" : "Feedback", "Color" : "#ff0000", "Background" : "#0000ff" }, "Width": 340, "Height" : 340, "Position" : "right" }; Quicksearch.FeedbackTab("B832E9B6Z7050", dialogLinkConfig, feedbackTabConfig); </script>

Result

An invitation to a 400px x 400px centered survey from a feedback tap to the right of the screen