# Wix

URL: /docs/collect/website/wix

Wix lets you paste HTML into an **Embed HTML** element. You'll add one where you want the form, paste your block, and make the element tall enough for the form.

**Before you start:** have your Project ID ready and choose *feedback button* or *form on the page*. [How to get these](/docs/collect/website#before-you-paste-three-things-to-check)

> **Leave Allowed origins empty for Wix**
>
>
> Wix runs embedded code from a Wix-owned web address rather than your own domain. If you've added origins under **Delivery → Embedded form → Allowed origins**, the form won't load. Clear the list for Wix sites. [Allowed origins](/docs/collect/website/allowed-origins)

## 1. Copy your block [#1-copy-your-block]

Replace `PASTE-YOUR-PROJECT-ID-HERE` with your Project ID.

**Feedback button**

```html
<button id="orvelt-feedback-button" type="button">Give feedback</button>
<script src="https://unpkg.com/@orvelt/business/dist/opinion-embed.js"></script>
<script>
  (function () {
    var form = OrveltEmbed.configure({
      projectId: 'PASTE-YOUR-PROJECT-ID-HERE',
      visibility: 'public',
    });
    document.getElementById('orvelt-feedback-button').addEventListener('click', function () {
      form.open();
    });
  })();
</script>
```

Because Wix shows embedded code inside its own frame, the pop-up opens within the Embed HTML element's area. For a full-screen pop-up, use *Form on the page* instead and place it on its own **Feedback** page.

**Form on the page**

```html
<div id="orvelt-opinion-form"></div>
<script src="https://unpkg.com/@orvelt/business/dist/opinion-embed.js"></script>
<script>
  OrveltEmbed.configure({
    projectId: 'PASTE-YOUR-PROJECT-ID-HERE',
    visibility: 'public',
  }).mount('#orvelt-opinion-form');
</script>
```

## 2. Paste it into your page [#2-paste-it-into-your-page]

Open your site in the Wix Editor and go to the page where the form should appear.

Select **Add Elements** (the **+** on the left), then **Embed Code**, then **Embed HTML**.

Select the new element and choose **Enter Code**. Make sure **Code** is selected (not **Website Address**).

Paste your block and select **Update**.

**Make the element tall enough.** Drag its bottom edge down to at least **800 pixels** tall, and make it as wide as your page's content. The form grows as customers move through it, but Wix keeps the element at the size you set.

Select **Publish**.

## 3. Test it [#3-test-it]

Open the published page, not the editor preview, and submit a test opinion. If the form is cut off at the bottom, make the element taller. [Test the form](/docs/collect/website/test-the-form)