Embedding a Survey on Your Site
Put a survey card on your own website with a one-line snippet, and add a one-click rating to support reply emails
A survey card that lives on your own website and feeds the same Responses tab.
The survey widget puts one of your Feedback surveys directly on your own website as an inline card. It mounts in the page's flow, right where you paste the snippet, and sizes itself to the survey's content. Visitors answer on your page, and each submission lands in the survey's Responses tab like any other response. The widget uses the survey's anonymous open link under the hood, so there is nothing new to configure and nothing extra to secure.
The snippet lives in the survey's Distribute panel, next to the share link.
Publish the survey
In Service → Feedback, build the survey and press Publish. A draft survey has no public link, so it cannot be embedded yet.
Turn on open distribution
Publishing a new survey opens the Distribute survey panel for you. Later, open it from the share icon on the survey's row. In the Shareable link section, press Enable open distribution (the reusable public link anyone can answer anonymously). The embed widget uses that same anonymous link, so this switch is what makes the snippet available. Until it is on, the Embed on your site section says Turn on open distribution above to get an embed snippet. The widget uses the same anonymous link.
Copy the snippet
In the same panel, the Embed on your site section shows the one-line snippet in a read-only field with a Copy button, under Paste this where you want the survey card to appear. It loads inline and sizes itself.
Paste it on your site
Paste the tag into your page's HTML where you want the survey card to appear. It loads inline and sizes itself; no other tags, stylesheets, or dependencies are needed.
The embed snippet
<script src="https://app.laureo.io/embed/survey.js" data-survey-token="your-token" async></script>The copy in the Distribution panel arrives already filled in with your survey's token, so you never edit it by hand. The token is the survey's public open token, the same value its shareable link carries; it identifies the survey and nothing else.
data-survey-token: Required. The survey's open token, filled in for you.data-target: Optional. A CSS selector for the element to mount into. Default: inline, where the script tag sits.data-height: Optional. A starting height in pixels before the card reports its own.data-title: Optional. The accessible title on the embedded frame.
Submissions from the embedded card appear in the survey's Responses tab and roll into the Analytics scorecards alongside responses from every other channel. Because the widget rides the anonymous open link, embedded responses are anonymous, the same as responses to the copied link or QR code. If you later turn open distribution off, the embedded card stops accepting responses everywhere it is pasted; you do not need to hunt down and remove the tags.
The card looks like the survey's own page: its Next and Submit buttons use the survey's Theme color, and an NPS question shows its 0 to 10 scale on one row, or on two rows when the card is narrow.
The Distribute panel also holds Email signature ratings. When its switch is on, every support reply your agents send by email carries a small rating row under the signature. The customer clicks a score, the public survey page opens with that answer already filled in, and the response is recorded against the survey you chose. It is an organization-wide setting that names one survey; if a different survey currently holds it, the panel says so instead of showing a plain off switch.
- Use this survey in reply signatures: The switch itself. The survey must be published; a draft survey cannot collect ratings. One rating is recorded per ticket.
- Rating scale: Choose Satisfaction 1 to 5, three faces, thumbs up or down, or a recommendation scale of 0 to 10.
- How it looks in the email: A preview of the exact row your replies will carry, with the prompt line above the buttons (“How did we do?” by default).
Under Service → Configuration → Help Center, the Allowed websites list restricts which sites may load your embeddable widgets. When the list is empty, any site can embed them; add your own site addresses to restrict embedding to those sites only. The survey widget honors the same list as the help and chat widgets: on a site that is not listed, the embedded card shows its unavailable state instead of the survey. Your hosted help center and the survey's own public link keep working either way.