Orvelt

Wix

Put Orvelt's opinion form on a Wix page with an Embed HTML element, and size it so the whole form shows.

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

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

1. Copy your block

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

<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.

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

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