Install on Wix

On a Wix site you can show a Voxtrics survey as a popup, a popup with no button or a chat survey, added through Wix's Custom Code. Custom Code is set up in your site's dashboard, so it works whichever Wix editor your site uses, Wix Harmony included.

Before you start

  1. In Domains, add the domain your Wix site opens on: your own domain, for example example.com, or the free Wix address, for example username.wixsite.com. A survey loads only on the domain it belongs to.
  2. Create a popup, popup with no button or chat survey under that domain and publish it.
  3. Copy the survey's ID: on the Surveys list, open the survey's embed code. The ID is the formId value.
  1. In your site's dashboard, go to Settings and open Custom Code in the Development & integrations section.

  2. Click + Add Custom Code and paste this, with your survey's ID in place of YOUR_SURVEY_ID:

    <script src="https://feedback.voxtrics.io/assets/prod/index.iife.js"></script>
    <script>
      window.SiteUtilsFeedback.initiateFeedbackModule({ formId: 'YOUR_SURVEY_ID' });
    </script>
    
  3. Under Add Code to Pages, choose All pages and load the code once rather than on each new page: the survey only needs to start once per visit.

  4. Under Place Code in, choose Body – end, then click Apply.

If the survey doesn't appear

  • Check that the survey is published and belongs to the domain your Wix site opens on. A domain added as example.com covers www.example.com too.
  • Custom Code placed in Head runs before the page has loaded, so the survey doesn't start. Move it to Body – end.
  • If your site shows a cookie banner and the code's type isn't Essential, Wix runs it only after the visitor accepts cookies, so the survey won't appear before that.
  • Wix's Embed code element (Embed HTML in the Wix Editor) runs code on a separate address of its own, so the survey won't load there. Use Custom Code.
  • On-site and email surveys aren't placed on a site. Share their link instead.