RawQuotes
API Reference
Embed the widget

Embed the widget

How to add the rawquotes survey widget to your site.

Embed the widget

A survey only collects responses once its widget is live on your site. Getting it there is one snippet, copied once.

Copy the snippet

Open the survey in the editor and go to the Appearance tab. The snippet at the bottom of that tab is generated for this survey specifically — it already has your survey's own address and identifier filled in, so copy it exactly as shown, character for character. Don't retype it and don't edit the values inside it.

The snippet changes shape depending on the placement mode you pick on the same tab. See Placement modes for what each one looks like and when to use it.

In its simplest form — the default floating mode — it is a single <script> tag:

<script src="https://intake.rawquotes.io/widget/loader.js" data-survey-id="YOUR-SURVEY-ID" async></script>

Paste it into your page

Paste the snippet into your page's HTML, right before the closing </body> tag (or wherever your site builder lets you add custom scripts to every page — for example, an online store's theme editor). It only needs to be there once — the same snippet keeps working as you edit the survey's questions or appearance afterwards, since it only carries the survey's identifier, not its content.

Paste only one snippet per page. If a second init runs after the first — for example a second snippet added lower on the same page — the widget silently keeps only the survey from the last one; the first is discarded.

Once it's pasted, the widget starts showing to your page's visitors. If nothing appears, see Troubleshooting.

Copyright © 2026