Embed surveys

Embed your SwiftSurvey forms directly into your website or web application. Embedded surveys appear inline within your existing pages, keeping respondents on your site instead of sending them to an external link.

SwiftSurvey — Embed surveys

Embed methods

Open the Share popup on any published survey and switch to the Embed tab. SwiftSurvey supports three embed modes:

  • Inline embed — The survey renders directly within a container element on your page. Ideal for dedicated survey pages, landing pages, or feedback forms.
  • Popup modal — The survey appears as a centered modal overlay. You can configure triggers such as time-on-page delay, scroll percentage, or exit intent.
  • Sliding panel — The survey slides in from the right or bottom edge of the screen. Works well for feedback widgets and CSAT prompts.

Embed code

The embed panel generates an iframe or JavaScript snippet that you paste into your website's HTML. The iframe approach is the simplest: copy the <iframe> tag and place it where you want the survey to appear. For popup and slider embeds, use the JavaScript snippet which loads the SDK and handles positioning and triggers automatically.

Customization

Control the embed's behavior with options for width, height, and responsive scaling. Inline embeds automatically resize to fit their container. Popup and slider embeds support custom trigger delays (in seconds), scroll depth thresholds (as a percentage), and exit-intent detection that shows the survey when the user's cursor leaves the page.

Quick links