Toimii has soft launched — the service is live and sign-ups are open. Try it free →

Toimii has soft launched, so these guides describe a service you can sign up for and use today. A few pieces are still on the way — the iOS and Android apps arrive later in 2026.

How to embed a contact form on Wix

Wix has a Custom Element built for exactly this. Give it two values — a script URL and a tag name — and publish.

<!-- Add this anywhere on your page -->
<script src="https://cdn.toimii.io/components/your-code.js" async></script>
<toimii-your-code></toimii-your-code>
Does this actually work?

Yes — one element, two fields. Wix's Custom Element loads a script from a URL you give it and renders the tag you name, which is exactly how a Toimii component arrives. The HTML embed can't do this: it's a sandboxed iframe, and your page never sees a tag pasted into it.

Step by step

1
Copy your component's two values
Open the component in Toimii and copy its script URL and its element tag. Both are generated per component, so copy the tag rather than typing it.
2
Add a Custom Element
In the Wix Editor, add a Custom Element — not an HTML embed — where the form should sit, and position it like any other element.
3
Fill in Server URL and Tag Name
In the element's settings, paste the script URL into Server URL and the tag into Tag Name. That's the whole configuration — everything else is already set in Toimii.
4
Publish, then check the live page
Publish the site and open the live URL. That's where the form actually renders.
Plan required

The Custom Element needs a published site on a paid Wix plan, with your own domain connected and no Wix ads on it. There is no free-plan route.

Gotchas

  • If the Tag Name doesn't match, nothing renders and no error is reported. The tag is different for every component, so copy it from the component's page in Toimii.
  • Server URL takes the whole script URL, not just the file name. Nothing else needs configuring — the component's settings travel inside that file.
  • Two forms on one page means two Custom Elements, each with its own Server URL and Tag Name. A second element pointed at the same URL just repeats the first form.
  • If the element is blank on the published page, open your browser's network panel. If the script returns 404, the Server URL is wrong; if the script loaded, the Tag Name doesn't match.

Frequently asked

What does "sandboxed iframe" mean?

An iframe is a separate document nested inside your page, and the sandbox attribute limits what that document may do. Wix's developer documentation says its HTML embed creates a sandboxed environment that does not have direct access to the other elements on your page.

Can I use the HTML embed element instead?

No — it looks similar in the editor but it's a different element, and everything pasted into it runs inside that sandboxed iframe. Paste just the tag and nothing renders. Paste both lines and a form may appear in the box, but it's running on a Wix-hosted document rather than your own domain, and submissions are checked against your site's domain — so they're refused, and the visitor gets only a generic error.

What about Velo (Wix Dev Mode)?

You don't need it. The Custom Element is a standard editor element, and Velo doesn't change how the HTML embed's iframe behaves, so it isn't a way around that either.

Why doesn't the form look right in the Wix Editor?

Because Wix renders custom elements inside an iframe in the Editor and in preview mode. A blank or oddly-sized box on the canvas tells you nothing either way. Publish and check the live URL — that's the only view that matches what a visitor sees.

Embedding on a different platform?

Same two lines of code, picked apart for each platform.

Ready to try it?

30-day free trial. No credit card. Set up in minutes.

No credit card required. Set up in 2 minutes.