Code demo

Using your own cookie consent. In this case using one from Quicksearch.

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

Code

<link href="https://dm.quicksearch.se/quicksearch.websurvey.css" rel="stylesheet"> <script src="https://dm.quicksearch.se/quicksearch.cookieconsent.js"></script> <script src="https://dmnet.quicksearch.se/quicksearch.channel.js"></script> <script> // Check if cookie is allowed or blocked - if unknown - ask visitor Quicksearch.CookieConsent({ "Text" : "Will you allow us to set a cookie?"}, function() { // Cookie is active; alert("Info: Cookie consent is active"); // Open channel qsChannel.setOptions({ channel_id: "43e4300c-0c1b-4d0b-932e-265eea443543", webSurveySettings: { onButtonClose: function() { alert("Closed"); } } }); //Render channel qsChannel.render(); }); </script>

Result