All Collections
Survey Setup
Free Setup
Embed: Using an iframe widget to integrate OpinionX surveys on your product or website.
Embed: Using an iframe widget to integrate OpinionX surveys on your product or website.
Daniel Kyne avatar
Written by Daniel Kyne
Updated over a week ago

There are two main ways to distribute your opinion survey to participants: copy the shareable link or embed the survey on any web page as an iframe widget.

To find the iframe embed code, open the survey and click the "Share" button in the top right corner of your screen. This opens a box which includes the shareable link and the embed code.

The default embed code uses the following format (replace with your own SURVEY_ID):

<iframe src="https://app.opinionx.co/SURVEY_ID" height="550px" width="100%" style="border: 1px solid lightgrey"></iframe>

--

How to embed an OpinionX survey on a Squarespace website

Use the below template code to embed your OpinionX survey as an iframe widget on your Squarespace website. Make sure to replace the SURVEY_ID by copying your own embed code and extracting the SURVEY_ID from there.

<iframe src="https://app.opinionx.co/SURVEY_ID" height="550px" width="100%" overflow: "hidden"; style="border-radius: 10px" style="border: 1px solid black";></iframe>

Did this answer your question?