Install Trevilo on Wix

Add the Trevilo script to your Wix site with Custom Code. Your site must be published and have a connected domain.

Updated 18 Nov 2026

You add Trevilo to a Wix site with Wix's Custom Code setting. Your forms keep working as they do now, and each enquiry also comes to Trevilo.

Before you start

Wix lets you add custom code only when:

  • your site is published, and

  • your site has a connected domain.

Copy your script from Trevilo. Open Setup and go to Connect your website, then click Copy next to the script. You can also find it later on the Websites page: click Open next to your website.

Add the script

  1. In your Wix site's dashboard, click Settings.

  2. In the Development & integrations section, click Custom Code.

  3. Click + Add Custom Code at the top right.

  4. Paste your Trevilo script into the text box.

  5. Give it a name you will recognise, such as Trevilo.

  6. Under Add Code to Pages, choose All pages.

  7. Under Place Code in, choose Head.

  8. Click Apply.

Check it is working

  1. Open a page on your live site that has a form.

  2. In Trevilo, click Check this site in Setup, or Check my site on the Websites page.

  3. Send a real enquiry through your form on the live site and check it appears in Trevilo under Enquiries.

Always test on your live site, not in the Wix editor's preview.

Good to know

  • If you change your site's domain, Wix deletes your custom code. Add the Trevilo script again, and add the new address in Trevilo on the Websites page under Allowed addresses.

  • Forms added with an embed element are not captured. Wix runs code you paste into its HTML iframe or embed code element inside a separate frame, cut off from the rest of the page. A form placed that way, such as a form from another service, cannot be read by the Trevilo script. To use Trevilo, the form needs to be part of your page itself.

  • Test your form. Trevilo captures forms that are sent as a normal form on the page. Send a test from your live site after installing to make sure your form's enquiries arrive.

For what Trevilo does and does not capture, see Add Trevilo to any website.

Install Trevilo on Wix | Trevilo help