Toimii is launching in 2026 — this site is an early preview.

These guides describe Toimii once it's live. The dashboard and billing aren't available yet — Toimii launches in 2026.

How to embed a contact form on Wix (honest guide for 2026)

Wix's Embed widget runs in a sandboxed iframe — so a single paste won't work. Here's the split method that does.

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

Yes — but only via the split method, on the Core plan or higher.

Wix's "Embed a Widget" block runs inside a sandboxed iframe. In December 2025 Wix tightened that sandbox by removing allow-same-origin — so a single all-in-one paste doesn't work anymore. The script tag loads inside the iframe, where it can't see your Wix page's DOM, and the custom element registers in the wrong place.

The fix is the split method: put the script tag in Settings → Custom Code (which injects directly into your Wix page, NOT inside an iframe), and put the custom element tag <toimii-contact></toimii-contact> in an Embed a Widget block. The script registers the element on the parent page, the widget block places the tag, and the form renders.

Step by step

1
Open Settings → Custom Code
From the Wix dashboard, go to Settings → Custom Code (under Advanced). Note — this requires the Core plan ($17/mo) or higher. Click + Add Custom Code.
2
Add the script tag
Paste only the script tag — the first of the two lines: <script src="https://cdn.toimii.io/components/your-code.js" async></script>. Set "Add Code to Pages" to "All Pages" (or just the page where you're embedding the form). Set "Place Code in" to Body — start. Save.
3
Add an Embed a Widget block
Open the Wix Editor for the page where you want the form. Click Add (+) → Embed Code → Embed a Widget. (NOT Embed HTML — that's the sandboxed version.) Drop the widget where the form should sit.
4
Paste the custom element tag
In the widget settings, paste only the custom element tag — the second line: <toimii-contact></toimii-contact>. Click Update.
5
Size the widget block
Resize the widget block in the Editor to roughly fit the form's height. The form itself renders outside the iframe (on your Wix page) — the widget block acts as a positioning anchor.
6
Publish and view live
Click Publish. Preview alone won't show the form — Custom Code rules only run on saved/published versions. View the live URL to confirm.
Plan required

Settings → Custom Code requires the Core plan ($17/mo) or higher. The free plan and Light plan can use Embed a Widget but lack Custom Code, so the split method won't work — you'd need to upgrade.

Common gotchas

  • A single all-in-one Embed widget paste does NOT work. Wix tightened the Embed sandbox in December 2025 (removed allow-same-origin). The script loads, but the custom element registers inside the iframe — not on your Wix page.
  • Settings → Custom Code requires the Core plan ($17/mo) or higher. The free plan and the Light plan don't have it.
  • Custom Code rules apply on save — they don't show up in the Wix Editor preview. Click "Preview" or, better, click "Publish" and view the live URL.
  • The Embed a Widget block has a fixed iframe size. Resize the block in the Editor to fit the form's natural height; the form itself sits OUTSIDE the iframe (on the parent), so the iframe is just a positioning anchor.
  • If your custom code rules conflict with each other, the most recent save wins silently. Keep one rule, target both pages, in head + body — easier to debug than separate rules per page.

Frequently asked

What does "sandboxed iframe" mean?

A sandboxed iframe is an iframe with the sandbox attribute, which restricts what the inner content can do. In December 2025, Wix removed allow-same-origin from the Embed widget sandbox. The script still loads, but the custom element registers inside the iframe — not on your Wix page. That's why a single embed block doesn't work; we have to split it.

Why doesn't "Embed HTML" work like it used to?

Both run in the same sandboxed iframe (since Wix tightened security in December 2025 by removing allow-same-origin). The script loads, but the custom element registers in the iframe — not on your parent page. That's why we recommend the split method instead.

Wait — does the split method actually work?

Yes. The script tag goes in Settings → Custom Code (head or body) — that's a parent-page injection, not an iframe. The custom element goes in an Embed a Widget block, which renders the tag on the parent page (the widget content runs in the iframe but the tag itself is mounted into the parent DOM). Together: script registers the element on the parent, tag is in the parent DOM, form renders.

What about Velo (Wix Dev Mode)?

Velo (Wix Dev Mode) gives you backend code and frontend events — but the rendering surface for HTML is still the same Embed widget iframe. Velo doesn't lift the sandbox; it just gives you a way to script around it. For most users, the split method is simpler.

Should I just switch to a different platform?

Honestly, if you're picking a no-code site builder right now, Squarespace, Webflow, and WordPress.com all support our embed more cleanly than Wix. We don't say that lightly — we'd rather you have a smooth experience than struggle with a sandbox.

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.