By default our survey is shown as a popup window in the bottom portion of a web page.

Alternatively the survey can be embedded directly into a web page so that it feels like a natural part of the page.

This can be done adding the following keys to your HTML snippet:

  • embed: true
  • parent: HTML Element in which you'd like to insert the survey

Here is a complete example of such snippet:

<script>
(function() { window.satismeter = window.satismeter || function() {(window.satismeter.q = window.satismeter.q || []).push(arguments);};window.satismeter.l = 1 * new Date();var script = document.createElement("script");var parent = document.getElementsByTagName("script")[0].parentNode;script.async = 1;script.src = "https://app.satismeter.com/satismeter.js";parent.appendChild(script);})();

satismeter({
  writeKey: "WRITE_KEY",  // replace with your write key
  userId: "USER_ID", // replace with real user ID
  embed: true,
  parent: document.getElementById('parent') // parent element controls in which place the survey is shown
});
</script>
Did this answer your question?